* Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update.
[deliverable/binutils-gdb.git] / gdb / event-top.c
index a3cc15cb743fdef893c461d69e0f92ac7c72fd8a..f798eee87265a40aa75e56be078ed9195a623261 100644 (file)
@@ -975,13 +975,9 @@ handle_sigint (int sig)
      immediate_quit is set. If we didn't, SIGINT would be really
      processed only the next time through the event loop.  To get to
      that point, though, the command that we want to interrupt needs to
-     finish first, which is unacceptable. */
-  if (immediate_quit)
-    async_request_quit (0);
-  else
-    /* If immediate quit is not set, we process SIGINT the next time
-       through the loop, which is fine. */
-    mark_async_signal_handler_wrapper (sigint_token);
+     finish first, which is unacceptable.  If immediate quit is not set,
+     we process SIGINT the next time through the loop, which is fine. */
+  gdb_call_async_signal_handler (sigint_token, immediate_quit);
 }
 
 /* Quit GDB if SIGTERM is received.
This page took 0.025994 seconds and 4 git commands to generate.