2000-10-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 12 Oct 2000 16:53:06 +0000 (16:53 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Thu, 12 Oct 2000 16:53:06 +0000 (16:53 +0000)
commitfba7f19cf6f801ee55018614b3a6f2ead2b1fb3b
tree9a674104d87390d60bc0e90aeedfdd43d23c875a
parent24376d1b58f62660beb3e5f9c2a7c135513ce27d
2000-10-12  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>

From Daniel Berlin <dberlin@redhat.com> :

* symtab.c (lookup_symbol_aux): New function. Renamed from
  lookup_symbol. Move code to do demangling/case sensitivity to
  lookup_symbol().
   (lookup_symbol): Now wrapper for lookup_symbol_aux, so we can
  perform case sensitivity/demangling without leaking memory.  Move
  code to do demangling/case sensitivity from old_lookup_symbol to
  here.
(lookup_partial_symbol): Use SYMBOL_SOURCE_NAME instead of
  SYMBOL_NAME.
(lookup_block_symbol): Use SYMBOL_SOURCE_NAME instead of
  SYMBOL_NAME. Don't do linear search in case of C++.

   * symfile.c (compare_symbols): Use SYMBOL_SOURCE_NAME instead of
  SYMBOL_NAME.
   (compare_psymbols): Same here.
gdb/ChangeLog
gdb/symfile.c
gdb/symtab.c