diff options
author | Michael Snyder <msnyder@specifix.com> | 2000-03-15 19:43:57 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@specifix.com> | 2000-03-15 19:43:57 +0000 |
commit | 1ad830c220b053a5362eee4ceef45e970b77a5b3 (patch) | |
tree | 1f6fd87ab9376c3ef6c8625ec2432fbb341af8a3 /gdb | |
parent | b15305a438e8da0d98653a370c84c7cb1edade0f (diff) | |
download | gdb-1ad830c220b053a5362eee4ceef45e970b77a5b3.tar.gz |
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')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/symfile.c | 4 |
2 files changed, 9 insertions, 0 deletions
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 <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. 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) { |