From 8b7a6d61e8481468f70134b0ce48ca3d9b9c77f7 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 2 Sep 2008 09:32:56 +0000 Subject: [PATCH] (ia64_get_dyn_info_list): Use obj_section_addr. --- gdb/ChangeLog | 4 ++++ gdb/ia64-tdep.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e4d1930b40..1461825521 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-09-02 Andreas Schwab + + * ia64-tdep.c (ia64_get_dyn_info_list): Use obj_section_addr. + 2008-09-01 Jan Kratochvil Stay compatible after the GCC PR fortran/29635 fix. diff --git a/gdb/ia64-tdep.c b/gdb/ia64-tdep.c index 186833ad6b..1302741f51 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) {