* symtab.h (SYMBOL_SEARCH_NAME): New definition.
authorPaul N. Hilfinger <hilfinger@adacore.com>
Thu, 20 May 2004 09:51:34 +0000 (09:51 +0000)
committerPaul N. Hilfinger <hilfinger@adacore.com>
Thu, 20 May 2004 09:51:34 +0000 (09:51 +0000)
commit4725b72191dff6324b78a2fe4edb62d0abf3a204
tree049138310c6a7358e88287e547b73f48f29bb401
parent82d69f8b4ce0078cd7387634c2b5f9f6d0a42309
* symtab.h (SYMBOL_SEARCH_NAME): New definition.
(SYMBOL_MATCHES_SEARCH_NAME): New definition.
(symbol_search_name): Declare.

* dictionary.c (iter_name_first_hashed): Match on SYMBOL_SEARCH_NAME.
(iter_name_next_hashed): Ditto.
(iter_name_next_linear): Ditto.
(insert_symbol_hashed): Hash on SYMBOL_SEARCH_NAME.

* symtab.c (lookup_partial_symbol): Assume symbols ordered by
search name, using SYMBOL_SEARCH_NAME and SYMBOL_MATCHES_SEARCH_NAME.
(symbol_search_name): New function.

* symfile.c (compare_psymbols): Order by SYMBOL_SEARCH_NAME.

* minsyms.c (build_minimal_symbol_hash_tables): Change
test for adding to demangled hash table to check for difference
between SYMBOL_SEARCH_NAME and SYMBOL_LINKAGE_NAME.
gdb/ChangeLog
gdb/dictionary.c
gdb/minsyms.c
gdb/symfile.c
gdb/symtab.c
gdb/symtab.h