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:53 -0600 |
commit | 03cd72b8107b34e7b572f9962ee589472ff1fa1e (patch) | |
tree | 6b4fcbde7c4de10c6958e0eebc12747cbb02741f /gdb/ChangeLog | |
parent | f4f2b85fb2eab29ea981b2c3f2058c1dc04e413c (diff) | |
download | gdb-03cd72b8107b34e7b572f9962ee589472ff1fa1e.zip gdb-03cd72b8107b34e7b572f9962ee589472ff1fa1e.tar.gz gdb-03cd72b8107b34e7b572f9962ee589472ff1fa1e.tar.bz2 |
Use gdb_bfd_sections in restore_command
This changes restore_command to avoid bfd_map_over_sections, in favor
of iteration. A helper data structure can also be removed by this
patch.
gdb/ChangeLog
2020-09-19 Tom Tromey <tom@tromey.com>
* cli/cli-dump.c (struct callback_data): Remove.
(restore_one_section): Rename from restore_section_callback.
Change parameters.
(restore_binary_file): Change parameters.
(restore_command): Use foreach.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index eaffc9d..1c95044 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2020-09-19 Tom Tromey <tom@tromey.com> + * cli/cli-dump.c (struct callback_data): Remove. + (restore_one_section): Rename from restore_section_callback. + Change parameters. + (restore_binary_file): Change parameters. + (restore_command): Use foreach. + +2020-09-19 Tom Tromey <tom@tromey.com> + * gcore.c (make_output_phdrs): Remove 'ignored' parameter. (gcore_copy_callback): Likewise. (gcore_memory_sections): Use foreach. |