diff options
author | Joel Brobecker <brobecker@gnat.com> | 2013-09-03 16:59:18 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2013-09-03 16:59:18 +0000 |
commit | 3bec276888142e4f751eaf9011f02b049fed7295 (patch) | |
tree | f8e20cc646eb00320a6474a466fe5f539db1e828 /gdb/solib-ia64-hpux.c | |
parent | 9d0cdcdf272434f099d5b01efb4196f071fff309 (diff) | |
download | gdb-3bec276888142e4f751eaf9011f02b049fed7295.zip gdb-3bec276888142e4f751eaf9011f02b049fed7295.tar.gz gdb-3bec276888142e4f751eaf9011f02b049fed7295.tar.bz2 |
Fix build failure in solib-ia64-hpux.c
The field "bfd" no longer exists in struct target_section.
Use the_bfd_section->owner instead.
gdb/ChangeLog:
* solib-ia64-hpux.c (ia64_hpux_relocate_section_addresses):
Replace sec->bfd by sec->the_bfd_section->owner.
Diffstat (limited to 'gdb/solib-ia64-hpux.c')
-rw-r--r-- | gdb/solib-ia64-hpux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/solib-ia64-hpux.c b/gdb/solib-ia64-hpux.c index 98fad07..ac3615e 100644 --- a/gdb/solib-ia64-hpux.c +++ b/gdb/solib-ia64-hpux.c @@ -336,7 +336,8 @@ ia64_hpux_relocate_section_addresses (struct so_list *so, bfd, whereas we would have had to open our own if we wanted to do it while processing the library-load event. */ if (so->lm_info->text_start == 0 && so->lm_info->data_start == 0) - ia64_hpux_find_start_vma (sec->bfd, &so->lm_info->text_start, + ia64_hpux_find_start_vma (sec->the_bfd_section->owner, + &so->lm_info->text_start, &so->lm_info->data_start); /* Determine the relocation offset based on which segment |