aboutsummaryrefslogtreecommitdiff
path: root/gdb/ppc64-tdep.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-07-17 05:28:04 +0000
committerDoug Evans <dje@google.com>2013-07-17 05:28:04 +0000
commit57e6060ea563b556bbb7d45128c508c9f2480e24 (patch)
treed6b1c3d8ff1a81e36e8319e9e53007b65a7ce9b9 /gdb/ppc64-tdep.c
parent7245f2557231b2948462972cdc8e66365207eb35 (diff)
downloadgdb-57e6060ea563b556bbb7d45128c508c9f2480e24.zip
gdb-57e6060ea563b556bbb7d45128c508c9f2480e24.tar.gz
gdb-57e6060ea563b556bbb7d45128c508c9f2480e24.tar.bz2
* 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 8732182..a2098fe 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)