diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-10-29 18:29:07 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-10-29 18:29:07 +0000 |
commit | 7b097ae3929cc0a113d185397fff442217b2365b (patch) | |
tree | 48652e518cb65f2f22e748b85766af31ea541a98 /gdb/symfile.c | |
parent | 83aeabb6ddcb906b8eb17b4aadbb9a89882bcef0 (diff) | |
download | gdb-7b097ae3929cc0a113d185397fff442217b2365b.zip gdb-7b097ae3929cc0a113d185397fff442217b2365b.tar.gz gdb-7b097ae3929cc0a113d185397fff442217b2365b.tar.bz2 |
* objfiles.h (clear_objfile_data): New prototype.
* objfiles.c (clear_objfile_data): New function.
* symfile.c (reread_symbols): Clear per-objfile data.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r-- | gdb/symfile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c index caea160..6835284 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -1969,6 +1969,7 @@ reread_symbols (void) memset (&objfile->msymbol_demangled_hash, 0, sizeof (objfile->msymbol_demangled_hash)); objfile->fundamental_types = NULL; + clear_objfile_data (objfile); if (objfile->sf != NULL) { (*objfile->sf->sym_finish) (objfile); |