(ia64_get_dyn_info_list): Use obj_section_addr.
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 2 Sep 2008 09:32:56 +0000 (09:32 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 2 Sep 2008 09:32:56 +0000 (09:32 +0000)
gdb/ChangeLog
gdb/ia64-tdep.c

index e4d1930..1461825 100644 (file)
@@ -1,3 +1,7 @@
+2008-09-02  Andreas Schwab  <schwab@suse.de>
+
+       * ia64-tdep.c (ia64_get_dyn_info_list): Use obj_section_addr.
+
 2008-09-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Stay compatible after the GCC PR fortran/29635 fix.
index 186833a..1302741 100644 (file)
@@ -2563,7 +2563,7 @@ ia64_get_dyn_info_list (unw_addr_space_t as,
       void *buf = NULL;
 
       text_sec = objfile->sections + SECT_OFF_TEXT (objfile);
-      ip = text_sec->addr;
+      ip = obj_section_addr (text_sec);
       ret = ia64_find_unwind_table (objfile, ip, &di, &buf);
       if (ret >= 0)
        {