* coffread.c (coff_symfile_finish): Call dwarf2_free_objfile.

* dwarf2read.c (dwarf2_free_objfile): New.
	* elfread.c (elf_symfile_finish): Call dwarf2_free_objfile.
	* symfile.h (dwarf2_free_objfile): Declare.
This commit is contained in:
Daniel Jacobowitz
2007-10-22 01:16:34 +00:00
parent af81c53cb7
commit fe3e1990b3
5 changed files with 29 additions and 0 deletions

View File

@@ -709,6 +709,8 @@ elf_symfile_finish (struct objfile *objfile)
{
xfree (objfile->deprecated_sym_stab_info);
}
dwarf2_free_objfile (objfile);
}
/* ELF specific initialization routine for reading symbols.