aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2008-09-02 09:32:56 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2008-09-02 09:32:56 +0000
commit8b7a6d61e8481468f70134b0ce48ca3d9b9c77f7 (patch)
treea330f08e01e82b67a04a68df5c49a02e15d548dc /gdb
parent6a86d2e1d38d571a04103c3e5a4cb5fc9944b724 (diff)
downloadgdb-8b7a6d61e8481468f70134b0ce48ca3d9b9c77f7.zip
gdb-8b7a6d61e8481468f70134b0ce48ca3d9b9c77f7.tar.gz
gdb-8b7a6d61e8481468f70134b0ce48ca3d9b9c77f7.tar.bz2
(ia64_get_dyn_info_list): Use obj_section_addr.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ia64-tdep.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e4d1930..1461825 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c
index 186833a..1302741 100644
--- a/gdb/ia64-tdep.c
+++ b/gdb/ia64-tdep.c
@@ -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)
{