Remove 'kind' parameter from dw2_map_matching_symbols
authorTom Tromey <tom@tromey.com>
Wed, 24 Mar 2021 20:41:13 +0000 (14:41 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 24 Mar 2021 20:50:25 +0000 (14:50 -0600)
commitb64f703b51914e4e335e61492882a8137f75e082
tree2f29611f21499eaeb920c359c1aa6e3bf843419a
parent68f115f8c088bafd7d60b1245867ee8f42ccfcef
Remove 'kind' parameter from dw2_map_matching_symbols

I noticed that dw2_map_matching_symbols does not use its 'kind'
parameter.  This patch removes it.  Tested by rebuilding.

2021-03-24  Tom Tromey  <tom@tromey.com>

* dwarf2/read.c (dw2_map_matching_symbols): Update.
(dw2_expand_symtabs_matching_symbol): Remove 'kind' parameter.
(check_match, dw2_expand_symtabs_matching)
(dwarf2_debug_names_index::map_matching_symbols)
(dwarf2_debug_names_index::expand_symtabs_matching): Update.
gdb/ChangeLog
gdb/dwarf2/read.c