src/gdb ChangeLog minsyms.c objfiles.h symtab.h
jimb@sourceware.cygnus.com
jimb@sourceware.cygnus.com
Mon Mar 6 20:33:00 GMT 2000
CVSROOT: /cvs/src
Module name: src
Changes by: jimb@sourceware.cygnus.com 00/03/06 20:33:52
Modified files:
gdb : ChangeLog minsyms.c objfiles.h symtab.h
Log message:
From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
* minsyms.c: #include <ctype.h>, for msymbol_hash_iw.
(compact_minimal_symbols): Added `objfile' argument.
Put symbols in the objfile's hash table.
(install_minimal_symbols): Put symbols in the objfile's demangled
hash table.
(lookup_minimal_symbol): Use hash table to find symbol in
objfile.
(msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
functions.
(prim_record_minimal_symbol_and_info): Initialize the
hash link fields of the new minimal symbol.
* symtab.h (struct minimal_symbol): New fields `hash_next',
`demangled_hash_next'.
(msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare.
* objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define.
(struct objfile): New fields `msymbol_hash',
`msymbol_demangled_hash'.
Patches:
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.116&r2=1.117
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/minsyms.c.diff?cvsroot=src&r1=1.1.1.3&r2=1.2
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/objfiles.h.diff?cvsroot=src&r1=1.1.1.8&r2=1.2
http://sourceware.cygnus.com/cgi-bin/cvsweb.cgi/src/gdb/symtab.h.diff?cvsroot=src&r1=1.1.1.7&r2=1.2
More information about the Gdb-cvs
mailing list