(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 e4d1930b40a92171331bb89e97109c8f5b1d547f..1461825521af00a89f9927c3cbe68e9d1bcea195 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 186833ad6b3d5c86fb2f6afb72335ae7dcf5aa04..1302741f51bcffabbd8bd72fa3ad332d174d31e3 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)
        {