* top.c (quit_target): Use all_cleanups.

* main.c (captured_command_loop): Use all_cleanups.
	* exceptions.c (throw_exception): Use all_cleanups.
This commit is contained in:
Tom Tromey 2012-04-19 20:18:26 +00:00
parent c971b7fa72
commit 6328eb3805
4 changed files with 10 additions and 4 deletions

View file

@ -224,7 +224,7 @@ throw_exception (struct gdb_exception exception)
quit_flag = 0;
immediate_quit = 0;
do_cleanups (ALL_CLEANUPS);
do_cleanups (all_cleanups ());
/* Jump to the containing catch_errors() call, communicating REASON
to that call via setjmp's return value. Note that REASON can't