diff options
author | Doug Evans <dje@google.com> | 2013-07-17 05:28:03 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 2013-07-17 05:28:03 +0000 |
commit | 8fb64acba6015d69e9c1035114ac53b32c99aa9d (patch) | |
tree | 3a83f704cf473e5f196200adbc498d58c216b7f9 /gdb/ppc64-tdep.c | |
parent | f24d1defe964bd65d71b29895758026eda81a073 (diff) | |
download | gdb-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.c | 3 |
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) |