From: Michael Snyder Date: Wed, 15 Mar 2000 19:43:57 +0000 (+0000) Subject: 2000-03-15 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a83117aa437b74a8405f8c7144256840194da85;p=binutils-gdb.git 2000-03-15 Michael Snyder From "Peter.Schauer" * symfile.c (reread_symbols): Clear msymbol hash table. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fa2686ee75d..ab8b741effc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-03-15 Michael Snyder + + From "Peter.Schauer" + * symfile.c (reread_symbols): Clear msymbol hash table. + 2000-03-15 Jim Blandy Deal with the inferior unloading shared objects. diff --git a/gdb/symfile.c b/gdb/symfile.c index 5b2a2ff5657..fb332967af3 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) {