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/elfread.c | |
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/elfread.c')
0 files changed, 0 insertions, 0 deletions