From 8fb64acba6015d69e9c1035114ac53b32c99aa9d Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Wed, 17 Jul 2013 05:28:03 +0000 Subject: * 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. --- gdb/ppc64-tdep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/ppc64-tdep.c') 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) -- cgit v1.2.1