From fe3e1990b3ea81a95d90721f8e86fb5a10f76ba1 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 22 Oct 2007 01:16:34 +0000 Subject: * 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. --- gdb/coffread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/coffread.c') diff --git a/gdb/coffread.c b/gdb/coffread.c index c492749..d1a4246 100644 --- a/gdb/coffread.c +++ b/gdb/coffread.c @@ -665,6 +665,8 @@ coff_symfile_finish (struct objfile *objfile) /* Let stabs reader clean up */ stabsread_clear_cache (); + + dwarf2_free_objfile (objfile); } -- cgit v1.1