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:55 -0600 |
commit | 5486c5174894a1a6e68b9fdf1865b838b9c792d8 (patch) | |
tree | 54880f25923ec74e2eaaa9b28c4e583d99ef177b /gdb/ChangeLog | |
parent | 8a6bb1d130b61887011463417bd8662dc41757fa (diff) | |
download | gdb-5486c5174894a1a6e68b9fdf1865b838b9c792d8.zip gdb-5486c5174894a1a6e68b9fdf1865b838b9c792d8.tar.gz gdb-5486c5174894a1a6e68b9fdf1865b838b9c792d8.tar.bz2 |
Use gdb_bfd_sections in generic_load
This changes generic_load to avoid bfd_map_over_sections, in favor of
iteration.
gdb/ChangeLog
2020-09-19 Tom Tromey <tom@tromey.com>
* symfile.c (add_section_size_callback): Remove.
(load_one_section): Rename from load_section_callback. Change
parameters.
(generic_load): 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 7a5e122..131ec93 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2020-09-19 Tom Tromey <tom@tromey.com> + * symfile.c (add_section_size_callback): Remove. + (load_one_section): Rename from load_section_callback. Change + parameters. + (generic_load): Use foreach. + +2020-09-19 Tom Tromey <tom@tromey.com> + * exec.c (add_to_section_table): Remove. (build_section_table): Use foreach. |