diff options
author | Michael Snyder <msnyder@vmware.com> | 2000-03-15 19:43:57 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2000-03-15 19:43:57 +0000 |
commit | 0a83117aa437b74a8405f8c7144256840194da85 (patch) | |
tree | b4728b30e232c6df0243abc465fd4d5fa0469959 /gdb/symfile.c | |
parent | 07cd4b9723e0a6d6bfec8980b0afcdbd9fdeb332 (diff) | |
download | gdb-0a83117aa437b74a8405f8c7144256840194da85.zip gdb-0a83117aa437b74a8405f8c7144256840194da85.tar.gz gdb-0a83117aa437b74a8405f8c7144256840194da85.tar.bz2 |
2000-03-15 Michael Snyder <msnyder@cleaver.cygnus.com>
From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
* symfile.c (reread_symbols): Clear msymbol hash table.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index 5b2a2ff..fb33296 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1775,6 +1775,10 @@ reread_symbols () objfile->free_psymtabs = NULL; objfile->msymbols = NULL; objfile->minimal_symbol_count = 0; + memset (&objfile->msymbol_hash, 0, + sizeof (objfile->msymbol_hash)); + memset (&objfile->msymbol_demangled_hash, 0, + sizeof (objfile->msymbol_demangled_hash)); objfile->fundamental_types = NULL; if (objfile->sf != NULL) { |