* gdb.threads/gcore-thread.exp: Use gdb_gcore_cmd.
[deliverable/binutils-gdb.git] / gdb / exceptions.c
index 0dcad71d20b78d954ea4e9c47a0bdba3c12b0e34..b7cf9a2cd8fba6b8921b72881f753ce43a154f33 100644 (file)
@@ -221,10 +221,10 @@ exceptions_state_mc_action_iter_1 (void)
 void
 throw_exception (struct gdb_exception exception)
 {
-  quit_flag = 0;
+  clear_quit_flag ();
   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
This page took 0.024236 seconds and 4 git commands to generate.