* Makefile.in (mingw-hdep.o, posix-hdep.o, remote-fileio.o): Update.
[deliverable/binutils-gdb.git] / gdb / event-loop.c
index 94f07e96e6831280d80e1297b9e78cf338d03948..9a04e32a0a051361888a9a141fee06fd8a76137c 100644 (file)
@@ -891,6 +891,15 @@ create_async_signal_handler (sig_handler_func * proc, gdb_client_data client_dat
   return async_handler_ptr;
 }
 
+/* Call the handler from HANDLER immediately.  This function runs
+   signal handlers when returning to the event loop would be too
+   slow.  */
+void
+call_async_signal_handler (struct async_signal_handler *handler)
+{
+  (*handler->proc) (handler->client_data);
+}
+
 /* Mark the handler (ASYNC_HANDLER_PTR) as ready. This information will
    be used when the handlers are invoked, after we have waited for
    some event.  The caller of this function is the interrupt handler
This page took 0.024259 seconds and 4 git commands to generate.