mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
* objfiles.h (clear_objfile_data): New prototype.
* objfiles.c (clear_objfile_data): New function. * symfile.c (reread_symbols): Clear per-objfile data.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user