diff options
author | Joseph Myers <joseph@codesourcery.com> | 2011-09-21 15:21:28 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2011-09-21 15:21:28 +0000 |
commit | b2cd6b294833b0dd0d5b913580fa7e5a72565b41 (patch) | |
tree | 21a7a46c8c5cf7ea3612373589a4ca4a441dfa28 /gdb/top.h | |
parent | 09b4ad9fcbb1a946df939adeb373d1be0e701694 (diff) | |
download | gdb-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |