summaryrefslogtreecommitdiff
path: root/gdb/ppc64-tdep.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-07-17 05:28:03 +0000
committerDoug Evans <dje@google.com>2013-07-17 05:28:03 +0000
commit8fb64acba6015d69e9c1035114ac53b32c99aa9d (patch)
tree3a83f704cf473e5f196200adbc498d58c216b7f9 /gdb/ppc64-tdep.c
parentf24d1defe964bd65d71b29895758026eda81a073 (diff)
downloadgdb-8fb64acba6015d69e9c1035114ac53b32c99aa9d.tar.gz
* nto-tdep.c (nto_relocate_section_addresses): Update,
target_section.bfd deleted. * ppc64-tdep.c (ppc64_convert_from_func_ptr_addr): Ditto. * s390-tdep.c (s390_load): Ditto. * solib-aix.c (solib_aix_relocate_section_addresses): Ditto.
Diffstat (limited to 'gdb/ppc64-tdep.c')
-rw-r--r--gdb/ppc64-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/ppc64-tdep.c b/gdb/ppc64-tdep.c
index 8732182db30..a2098fee345 100644
--- a/gdb/ppc64-tdep.c
+++ b/gdb/ppc64-tdep.c
@@ -383,7 +383,8 @@ ppc64_convert_from_func_ptr_addr (struct gdbarch *gdbarch,
gdb_byte buf[8];
int res;
- res = bfd_get_section_contents (s->bfd, s->the_bfd_section,
+ res = bfd_get_section_contents (s->the_bfd_section->owner,
+ s->the_bfd_section,
&buf, addr - s->addr, 8);
if (res != 0)
return extract_unsigned_integer (buf, 8, byte_order)