diff options
author | Tom Tromey <tom@tromey.com> | 2020-09-19 11:54:49 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-09-19 11:54:51 -0600 |
commit | cb814f2e3062ae3c82bba3baca6450c5e3317e58 (patch) | |
tree | cc4638726cc154a8237e36967afbbec06a003e9e /gdb/ChangeLog | |
parent | 3cabfd268b2d2301a8bfcfa124c162a1d45cfc68 (diff) | |
download | gdb-cb814f2e3062ae3c82bba3baca6450c5e3317e58.zip gdb-cb814f2e3062ae3c82bba3baca6450c5e3317e58.tar.gz gdb-cb814f2e3062ae3c82bba3baca6450c5e3317e58.tar.bz2 |
Use gdb_bfd_sections in build_objfile_section_table
This changes build_objfile_section_table to avoid
bfd_map_over_sections, in favor of iteration.
gdb/ChangeLog
2020-09-19 Tom Tromey <tom@tromey.com>
* objfiles.c (add_to_objfile_sections): Rename from
add_to_objfile_sections_full.
(add_to_objfile_sections): Remove.
(build_objfile_section_table): Use foreach.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b320735..41fd064 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2020-09-19 Tom Tromey <tom@tromey.com> + * objfiles.c (add_to_objfile_sections): Rename from + add_to_objfile_sections_full. + (add_to_objfile_sections): Remove. + (build_objfile_section_table): Use foreach. + +2020-09-19 Tom Tromey <tom@tromey.com> + * stap-probe.c (get_stap_base_address_1): Remove. (get_stap_base_address): Use foreach. |