2003-03-03 David Carlton <carlton@math.stanford.edu>
authorDavid Carlton <carlton@bactrian.org>
Mon, 3 Mar 2003 18:34:12 +0000 (18:34 +0000)
committerDavid Carlton <carlton@bactrian.org>
Mon, 3 Mar 2003 18:34:12 +0000 (18:34 +0000)
commit8e43749752917ad2777c89e45218a7256f05547c
tree6281e60277aec8fcfcb64dea97c76b9ab458f284
parent25120b0d7a5d5e498fa200d6d14d8ee2cf0cb493
2003-03-03  David Carlton  <carlton@math.stanford.edu>

* symtab.h (DEPRECATED_SYMBOL_MATCHES_NAME): Rename from
SYMBOL_MATCHES_NAME, add comment.
(SYMBOL_MATCHES_NATURAL_NAME): New.
* minsyms.c (lookup_minimal_symbol_solib_trampoline): Replace
SYMBOL_MATCHES_NAME with DEPRECATED_SYMBOL_MATCHES_NAME.
(lookup_minimal_symbol, lookup_minimal_symbol_text): Ditto.
* symtab.c (lookup_partial_symbol): Use
SYMBOL_MATCHES_NATURAL_NAME, not SYMBOL_MATCHES_NAME.  Delete
unhelpful comment.
(lookup_block_symbol): Use SYMBOL_MATCHES_NATURAL_NAME, not
SYMBOL_MATCHES_NAME.
Fix for PR c++/33.
gdb/ChangeLog
gdb/minsyms.c
gdb/symtab.c
gdb/symtab.h