* xcoffread.c (scan_xcoff_symtab): Replace current_gdbarch by

objfile arch.
This commit is contained in:
Markus Deuling 2008-03-27 12:28:48 +00:00
parent 5871526fc2
commit 40c58d9579
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2008-03-27 Markus Deuling <deuling@de.ibm.com>
* xcoffread.c (scan_xcoff_symtab): Replace current_gdbarch by
objfile arch.
2008-03-27 Nick Roberts <nickrob@snap.net.nz> 2008-03-27 Nick Roberts <nickrob@snap.net.nz>
* mi/mi-main.c (enum captured_mi_execute_command_actions): * mi/mi-main.c (enum captured_mi_execute_command_actions):

View File

@ -2119,6 +2119,7 @@ function_outside_compilation_unit_complaint (const char *arg1)
static void static void
scan_xcoff_symtab (struct objfile *objfile) scan_xcoff_symtab (struct objfile *objfile)
{ {
struct gdbarch *gdbarch = get_objfile_arch (objfile);
CORE_ADDR toc_offset = 0; /* toc offset value in data section. */ CORE_ADDR toc_offset = 0; /* toc offset value in data section. */
char *filestring = NULL; char *filestring = NULL;