aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-03-15 19:43:57 +0000
committerMichael Snyder <msnyder@vmware.com>2000-03-15 19:43:57 +0000
commit0a83117aa437b74a8405f8c7144256840194da85 (patch)
treeb4728b30e232c6df0243abc465fd4d5fa0469959 /gdb/symfile.c
parent07cd4b9723e0a6d6bfec8980b0afcdbd9fdeb332 (diff)
downloadgdb-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.c4
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)
{