aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1999-08-31 01:14:27 +0000
committerJason Molenda <jmolenda@apple.com>1999-08-31 01:14:27 +0000
commit104c1213b4821a4b8664e66db4643a951b461576 (patch)
treed77adb32fcf044a485e1d4e0bb58e9da0ce39671 /gdb/event-top.c
parentfd485a97b145f7b8abe7c5f5ec63edd8268a4182 (diff)
downloadgdb-104c1213b4821a4b8664e66db4643a951b461576.zip
gdb-104c1213b4821a4b8664e66db4643a951b461576.tar.gz
gdb-104c1213b4821a4b8664e66db4643a951b461576.tar.bz2
import gdb-1999-08-30 snapshot
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r--gdb/event-top.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index eb4f820..75b24e9 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