diff options
author | gdb-3.1 <gdb@fsf.org> | 1989-01-31 17:56:40 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-03 15:36:31 +0100 |
commit | e91b87a36830d061ef87d67be5f309e4d4ed918f (patch) | |
tree | 3408ea913a9cccd51c9b7d0b3bc7d7897cac8a5b /gdb/defs.h | |
parent | bb7592f01006b09c846831a9fb9c306307ba34f6 (diff) | |
download | gdb-e91b87a36830d061ef87d67be5f309e4d4ed918f.zip gdb-e91b87a36830d061ef87d67be5f309e4d4ed918f.tar.gz gdb-e91b87a36830d061ef87d67be5f309e4d4ed918f.tar.bz2 |
gdb-3.1
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -26,6 +26,7 @@ anyone else from sharing it farther. Help stamp out software hoarding! extern char *savestring (); extern char *concat (); extern char *xmalloc (), *xrealloc (); +extern char *alloca (); extern int parse_escape (); extern char *reg_names[]; @@ -37,8 +38,9 @@ extern int immediate_quit; enum command_class { - class_run, class_vars, class_stack, class_files, class_support, class_info, - class_breakpoint, class_alias, class_obscure, class_user, + no_class = -1, class_run = 0, class_vars, class_stack, + class_files, class_support, class_info, class_breakpoint, + class_alias, class_obscure, class_user, }; /* the cleanup list records things that have to be undone @@ -61,6 +63,8 @@ struct cleanup extern void do_cleanups (); extern void discard_cleanups (); extern struct cleanup *make_cleanup (); +extern struct cleanup *save_cleanups (); +extern void restore_cleanups (); extern void free_current_contents (); /* Structure for saved commands lines @@ -81,3 +85,4 @@ char *current_directory; #ifdef sparc #include <alloca.h> #endif + |