aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-10-22 01:16:34 +0000
committerDaniel Jacobowitz <drow@false.org>2007-10-22 01:16:34 +0000
commitfe3e1990b3ea81a95d90721f8e86fb5a10f76ba1 (patch)
tree677f8787ef5c105ed5ee005bdabfce70c7325da4 /gdb/symfile.h
parent*** empty log message *** (diff)
downloadbinutils-gdb-fe3e1990b3ea81a95d90721f8e86fb5a10f76ba1.tar.gz
binutils-gdb-fe3e1990b3ea81a95d90721f8e86fb5a10f76ba1.tar.bz2
binutils-gdb-fe3e1990b3ea81a95d90721f8e86fb5a10f76ba1.zip
* 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.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index fd14215c7be..8876df29dd2 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -365,6 +365,8 @@ extern int dwarf2_has_info (struct objfile *);
extern void dwarf2_build_psymtabs (struct objfile *, int);
extern void dwarf2_build_frame_info (struct objfile *);
+void dwarf2_free_objfile (struct objfile *);
+
/* From mdebugread.c */
/* Hack to force structures to exist before use in parameter list. */