diff options
author | Tom Tromey <tom@tromey.com> | 2023-04-10 10:50:09 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-05-07 12:44:17 -0600 |
commit | 9ed8433a04bf0430e2da3cd44c18667859782410 (patch) | |
tree | 035e5240911b21168ddd485946571aa7cd51a5d5 /gdb/solib-aix.c | |
parent | 372b4a048a2719c746bbb70bdbed257df405a4dc (diff) | |
download | gdb-9ed8433a04bf0430e2da3cd44c18667859782410.zip gdb-9ed8433a04bf0430e2da3cd44c18667859782410.tar.gz gdb-9ed8433a04bf0430e2da3cd44c18667859782410.tar.bz2 |
Rename objfile::sections
I think objfile::sections makes sense as the name of the method to
iterate over an objfile's sections, so this patch renames the existing
field to objfile::sections_start in preparation for that.
Diffstat (limited to 'gdb/solib-aix.c')
-rw-r--r-- | gdb/solib-aix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/solib-aix.c b/gdb/solib-aix.c index d7062b4..d3119db 100644 --- a/gdb/solib-aix.c +++ b/gdb/solib-aix.c @@ -400,7 +400,7 @@ solib_aix_get_section_offsets (struct objfile *objfile, if (objfile->sect_index_text != -1) { struct bfd_section *sect - = objfile->sections[objfile->sect_index_text].the_bfd_section; + = objfile->sections_start[objfile->sect_index_text].the_bfd_section; offsets[objfile->sect_index_text] = info->text_addr + sect->filepos - bfd_section_vma (sect); @@ -411,7 +411,7 @@ solib_aix_get_section_offsets (struct objfile *objfile, if (objfile->sect_index_data != -1) { struct bfd_section *sect - = objfile->sections[objfile->sect_index_data].the_bfd_section; + = objfile->sections_start[objfile->sect_index_data].the_bfd_section; offsets[objfile->sect_index_data] = info->data_addr - bfd_section_vma (sect); |