OSDN Git Service

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)
commitaa68cebff02cea204a6e9a45ff19075ba22bb008
treee99491ec039745dd92748a8f15d646a2658ea2d2
parent133b1ea791aa9650899ba7964d85613d893515a5
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