Use gdb_bfd_sections in dwarf2/read.c
authorTom Tromey <tom@tromey.com>
Sat, 19 Sep 2020 17:54:49 +0000 (11:54 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 19 Sep 2020 17:54:52 +0000 (11:54 -0600)
commit5bb6e9dd7090cacb02bbe9f20d8b101a59a3bf99
tree44e0b632c75c40eb2baf10641df9635b8bd49af9
parentad7277dab9ffa0f388e6e54d5248792a3f122fdc
Use gdb_bfd_sections in dwarf2/read.c

This changes some functions in dwarf2/read.c to avoid
bfd_map_over_sections, in favor of iteration.

gdb/ChangeLog
2020-09-19  Tom Tromey  <tom@tromey.com>

* dwarf2/read.c (locate_dwz_sections): Change parameters.
(dwarf2_get_dwz_file): Use foreach.
(dwarf2_locate_dwo_sections): Change parameters.
(open_and_init_dwo_file): Use foreach.
(dwarf2_locate_common_dwp_sections): Change parameters.
(open_and_init_dwp_file): Use foreach.
gdb/ChangeLog
gdb/dwarf2/read.c
This page took 0.041335 seconds and 4 git commands to generate.