diff options
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r-- | gdb/event-top.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c index eb4f820635e..75b24e973f1 100644 --- a/gdb/event-top.c +++ b/gdb/event-top.c @@ -26,6 +26,9 @@ #include <signal.h> #include "event-loop.h" +/* For dont_repeat() */ +#include "gdbcmd.h" + /* readline include files */ #include <readline/readline.h> #include <readline/history.h> @@ -60,18 +63,11 @@ void handle_stop_sig PARAMS ((int)); /* Functions to be invoked by the event loop in response to signals. */ -void async_request_quit PARAMS ((gdb_client_data)); static void async_do_nothing PARAMS ((gdb_client_data)); static void async_disconnect PARAMS ((gdb_client_data)); static void async_float_handler PARAMS ((gdb_client_data)); static void async_stop_sig PARAMS ((gdb_client_data)); -/* If this definition isn't overridden by the header files, assume - that isatty and fileno exist on this system. */ -#ifndef ISATTY -#define ISATTY(FP) (isatty (fileno (FP))) -#endif - /* Readline offers an alternate interface, via callback functions. These are all included in the file callback.c in the readline distribution. This file provides (mainly) a function, which @@ -113,6 +109,10 @@ char *new_async_prompt; annotation_level is 2. */ char *async_annotation_suffix; +/* This is used to display the notification of the completion of an + asynchronous execution command. */ +int exec_done_display_p = 0; + /* This is the file descriptor for the input stream that GDB uses to read commands from. */ int input_fd; @@ -141,8 +141,6 @@ PTR sigwinch_token; PTR sigtstp_token; #endif -void mark_async_signal_handler_wrapper PARAMS ((void *)); - /* Structure to save a partially entered command. This is used when the user types '\' at the end of a command line. This is necessary because each line of input is handled by a different call to |