From ca0e0a1dad5df9efc9f39c72b7ebc860f0a0ab23 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 21 Aug 2008 13:19:17 +0000 Subject: * arm-tdep.c (arm_pc_is_thumb): Use obj_section_addr. * hppa-hpux-tdep.c (hppa_hpux_find_dummy_bpaddr): Likewise. * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Use obj_section_addr and obj_section_endaddr. * hppa-tdep.c (hppa64_convert_code_addr_to_fptr): Likewise. * hppabsd-tdep.c (hppabsd_find_global_pointer): Likewise. * ia64-tdep.c (ia64_find_global_pointer): Likewise. (find_extant_func_descr): Likewise. * solib-frv.c (frv_relocate_main_executable): Use obj_section_addr. * xstormy16-tdep.c (xstormy16_find_jmp_table_entry): Use obj_section_addr and obj_section_endaddr. --- gdb/hppa-hpux-tdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/hppa-hpux-tdep.c') diff --git a/gdb/hppa-hpux-tdep.c b/gdb/hppa-hpux-tdep.c index 93d237cd724..1e5d1fbeb31 100644 --- a/gdb/hppa-hpux-tdep.c +++ b/gdb/hppa-hpux-tdep.c @@ -1068,9 +1068,9 @@ hppa_hpux_find_dummy_bpaddr (CORE_ADDR addr) { /* First try the lowest address in the section; we can use it as long as it is "regular" code (i.e. not a stub) */ - u = find_unwind_entry (sec->addr); + u = find_unwind_entry (obj_section_addr (sec)); if (!u || u->stub_unwind.stub_type == 0) - return sec->addr; + return obj_section_addr (sec); /* Otherwise, we need to find a symbol for a regular function. We do this by walking the list of msymbols in the objfile. The symbol -- cgit v1.2.1