From 7b097ae3929cc0a113d185397fff442217b2365b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 29 Oct 2003 18:29:07 +0000 Subject: * objfiles.h (clear_objfile_data): New prototype. * objfiles.c (clear_objfile_data): New function. * symfile.c (reread_symbols): Clear per-objfile data. --- gdb/symfile.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/symfile.c') 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); -- cgit v1.1