diff options
author | Tom Tromey <tromey@redhat.com> | 2012-04-19 20:18:26 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-04-19 20:18:26 +0000 |
commit | 6328eb3805da75d26e17c13c7be09123d2ce9dc1 (patch) | |
tree | 1b36863d421aefc22d142bc37f917fb9e15a1434 /gdb/main.c | |
parent | c971b7fa72c48b07e3199b76f8d79f3a71c65124 (diff) | |
download | gdb-6328eb3805da75d26e17c13c7be09123d2ce9dc1.zip gdb-6328eb3805da75d26e17c13c7be09123d2ce9dc1.tar.gz gdb-6328eb3805da75d26e17c13c7be09123d2ce9dc1.tar.bz2 |
* top.c (quit_target): Use all_cleanups.
* main.c (captured_command_loop): Use all_cleanups.
* exceptions.c (throw_exception): Use all_cleanups.
Diffstat (limited to 'gdb/main.c')
-rw-r--r-- | gdb/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -231,7 +231,7 @@ captured_command_loop (void *data) are not that well behaved. do_cleanups should either be replaced with a do_cleanups call (to cover the problem) or an assertion check to detect bad FUNCs code. */ - do_cleanups (ALL_CLEANUPS); + do_cleanups (all_cleanups ()); /* If the command_loop returned, normally (rather than threw an error) we try to quit. If the quit is aborted, catch_errors() which called this catch the signal and restart the command |