summaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2007-10-22 01:16:34 +0000
committerDaniel Jacobowitz <dan@debian.org>2007-10-22 01:16:34 +0000
commita51083545f66f98f033a62b254fe12e336ec598f (patch)
tree2071fc8f0321fc7b6b0a97a3e750545eb9c793a4 /gdb/symfile.h
parentafd722dfffc05045b200322cf3bde63ac48844e3 (diff)
downloadgdb-a51083545f66f98f033a62b254fe12e336ec598f.tar.gz
* 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. */