diff options
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 3dd5509..d1e024f 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -884,14 +884,14 @@ init_entry_point_info (struct objfile *objfile) /* Make certain that the address points at real code, and not a function descriptor. */ entry_point - = gdbarch_convert_from_func_ptr_addr (objfile->gdbarch, + = gdbarch_convert_from_func_ptr_addr (get_objfile_arch (objfile), entry_point, ¤t_target); /* Remove any ISA markers, so that this matches entries in the symbol table. */ objfile->ei.entry_point - = gdbarch_addr_bits_remove (objfile->gdbarch, entry_point); + = gdbarch_addr_bits_remove (get_objfile_arch (objfile), entry_point); } } |