]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ChangeLog
Change section_is_p to a method on dwarf2_section_names
authorTom Tromey <tom@tromey.com>
Sat, 6 Mar 2021 16:26:39 +0000 (09:26 -0700)
committerTom Tromey <tom@tromey.com>
Sat, 6 Mar 2021 16:26:39 +0000 (09:26 -0700)
commitfbedd54644116109834c0e0546e6c32ae3c482f9
tree107ffc8f08893b768ce9091f32a0404a20fa20af
parentc2a62a3d8833b824e8f0e36b6a03f348d7d1cd5a
Change section_is_p to a method on dwarf2_section_names

This replaces section_is_p with a method on dwarf2_section_names.

gdb/ChangeLog
2021-03-06  Tom Tromey  <tom@tromey.com>

* dwarf2/sect-names.h (struct dwarf2_section_names) <matches>: New
method.
* dwarf2/read.c (section_is_p): Remove.
(dwarf2_per_bfd::locate_sections)
(dwarf2_per_bfd::locate_sections, locate_dwz_sections)
(locate_v1_virtual_dwo_sections, dwarf2_locate_dwo_sections)
(dwarf2_locate_common_dwp_sections)
(dwarf2_locate_v2_dwp_sections, dwarf2_locate_v5_dwp_sections):
Update.
gdb/ChangeLog
gdb/dwarf2/read.c
gdb/dwarf2/sect-names.h