gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 24 Nov 2010 19:01:51 +0000 (19:01 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 24 Nov 2010 19:01:51 +0000 (19:01 +0000)
commit2edb89d30e939aeafb135c42ad96e80716f984b9
treeb6aa082c918612c2c7640a2f4f04cb5c7647629f
parentf6df29bc29c8eb8ec95a14c0f96906ead96c4107
gdb/
Code cleanup.
* dictionary.c
(struct dict_vector) <iter_match_first, iter_match_next>
(iter_match_first_hashed, iter_match_next_hashed)
(iter_match_first_linear, iter_match_next_linear)
(dict_iter_match_first, dict_iter_match_next, iter_match_first_hashed)
(iter_match_next_hashed, iter_match_first_linear)
(iter_match_next_linear): Use symbol_compare_ftype.
* dictionary.h: Include symfile.h.
(dict_iter_match_first, dict_iter_match_next): Use
symbol_compare_ftype.
* dwarf2read.c (dw2_map_matching_symbols): Likewise.
* psymtab.c (match_partial_symbol, match_partial_symbol, map_block)
(map_matching_symbols_psymtab): Likewise.
* symfile.h (symbol_compare_ftype): New typedef.
(struct quick_symbol_functions) <map_matching_symbols): Use
symbol_compare_ftype.
gdb/ChangeLog
gdb/dictionary.c
gdb/dictionary.h
gdb/dwarf2read.c
gdb/psymtab.c
gdb/symfile.h