aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-03-19 17:39:31 +0000
committerTom Tromey <tromey@redhat.com>2009-03-19 17:39:31 +0000
commit16ad93705cfed2630f48ba44b7dde9d20a4c6f44 (patch)
treedf8e80ba0e4c5e9b74d0a1ff99638d1fd0fc478b /gdb/defs.h
parent55f25fc330f3b22081bb4748b0f6c2009567512d (diff)
downloadgdb-16ad93705cfed2630f48ba44b7dde9d20a4c6f44.zip
gdb-16ad93705cfed2630f48ba44b7dde9d20a4c6f44.tar.gz
gdb-16ad93705cfed2630f48ba44b7dde9d20a4c6f44.tar.bz2
* utils.c (do_obstack_free): New function.
(make_cleanup_obstack_free): Likewise. * defs.h (make_cleanup_obstack_free): Declare.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index 001db81..e140474 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -366,6 +366,9 @@ extern struct cleanup *make_cleanup_fclose (FILE *file);
extern struct cleanup *make_cleanup_bfd_close (bfd *abfd);
+struct obstack;
+extern struct cleanup *make_cleanup_obstack_free (struct obstack *obstack);
+
extern struct cleanup *make_cleanup_restore_integer (int *variable);
extern struct cleanup *make_final_cleanup (make_cleanup_ftype *, void *);