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:50 -0600 |
commit | 1ce51eb52dca2fcd1ad4120876362ce2a53b3de6 (patch) | |
tree | 2230d03928cd5205c1cc1eef76aaef48063172fc /gdb/compile/compile-object-run.c | |
parent | a190fabbfc6cca47d572550419f80c55802f3056 (diff) | |
download | gdb-1ce51eb52dca2fcd1ad4120876362ce2a53b3de6.zip gdb-1ce51eb52dca2fcd1ad4120876362ce2a53b3de6.tar.gz gdb-1ce51eb52dca2fcd1ad4120876362ce2a53b3de6.tar.bz2 |
Use gdb_bfd_sections in gdb_bfd_close_or_warn
This changes gdb_bfd_close_or_warn to avoid bfd_map_over_sections, in
favor of iteration.
gdb/ChangeLog
2020-09-19 Tom Tromey <tom@tromey.com>
* gdb_bfd.c (free_one_bfd_section): Remove 'abfd' and 'ignore'
parameters.
(gdb_bfd_close_or_warn): Use foreach.
Diffstat (limited to 'gdb/compile/compile-object-run.c')
0 files changed, 0 insertions, 0 deletions