2000-03-15 Michael Snyder <msnyder@cleaver.cygnus.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 15 Mar 2000 19:43:57 +0000 (19:43 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 15 Mar 2000 19:43:57 +0000 (19:43 +0000)
        From "Peter.Schauer" <Peter.Schauer@regent.e-technik.tu-muenchen.de>
        * symfile.c (reread_symbols):  Clear msymbol hash table.

gdb/ChangeLog
gdb/symfile.c

index fa2686ee75d3d5851295eb43b873e68e34334739..ab8b741effc89955c41e7d9f368dc4bfdad9a982 100644 (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.
index 5b2a2ff56579a8123e0b70f6ea22ece686c1d3b0..fb332967af37db6765743616413140e602dadfbb 100644 (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)
                {