aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-09-21 15:21:28 +0000
committerJoseph Myers <joseph@codesourcery.com>2011-09-21 15:21:28 +0000
commitb2cd6b294833b0dd0d5b913580fa7e5a72565b41 (patch)
tree21a7a46c8c5cf7ea3612373589a4ca4a441dfa28 /gdb/top.h
parent09b4ad9fcbb1a946df939adeb373d1be0e701694 (diff)
downloadgdb-b2cd6b294833b0dd0d5b913580fa7e5a72565b41.zip
gdb-b2cd6b294833b0dd0d5b913580fa7e5a72565b41.tar.gz
gdb-b2cd6b294833b0dd0d5b913580fa7e5a72565b41.tar.bz2
* event-top.c (async_disconnect): If an exception is thrown from
quit_cover, call pop_all_targets. Use TRY_CATCH instead of catch_errors. * top.c (quit_cover): Return void and take no arguments. * top.h (quit_cover): Update prototype.
Diffstat (limited to 'gdb/top.h')
-rw-r--r--gdb/top.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.h b/gdb/top.h
index e36201c..3e6679c 100644
--- a/gdb/top.h
+++ b/gdb/top.h
@@ -41,7 +41,7 @@ extern void command_loop (void);
extern int quit_confirm (void);
extern void quit_force (char *, int);
extern void quit_command (char *, int);
-extern int quit_cover (void *);
+extern void quit_cover (void);
extern void execute_command (char *, int);
/* Prepare for execution of a command.