summaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-06-28 16:00:01 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-06-28 16:00:01 +0000
commite4ac0f1d9dea7845c0d0c5706071d4c56dbd42f2 (patch)
treefcdd6689b72a05be54537f587fa5f27bf6a38150 /gdb/main.c
parent1300a17a73c6af5f031f35f7e95c734415a6302b (diff)
downloadgdb-e4ac0f1d9dea7845c0d0c5706071d4c56dbd42f2.tar.gz
import gdb-1999-06-28 snapshot
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 12522ff77dc..09f4cff0f1e 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -1,5 +1,5 @@
/* Top level stuff for GDB, the GNU debugger.
- Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995
+ Copyright 1986, 87, 88, 89, 90, 91, 92, 93, 94, 95, 1999
Free Software Foundation, Inc.
This file is part of GDB.
@@ -48,7 +48,7 @@ int display_space;
invoked on the command line with the -nw --async options. In this
version, the usual command_loop is substituted by and event loop which
processes UI events asynchronously. */
-int async_p = 0;
+int async_p = 1;
/* Whether this is the command line version or not */
int tui_version = 0;
@@ -390,10 +390,6 @@ main (argc, argv)
quiet = 1;
}
- /* Get ready to invoke the event loop instead of the
- command_loop. See event-loop.h for more details.*/
- if (async_p)
- command_loop_hook = start_event_loop;
#if defined(TUI)
/* Should this be moved to tui-top.c:_initialize_tui()? */
if (tui_version)