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.
This commit is contained in:
Michael Snyder 2000-03-15 19:43:57 +00:00
parent 07cd4b9723
commit 0a83117aa4
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.
2000-03-15 Jim Blandy <jimb@redhat.com>
Deal with the inferior unloading shared objects.

View File

@ -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)
{