summaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-06-28 16:06:02 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-06-28 16:06:02 +0000
commit3aa48797ecc40f0b9fa07da4685595b9a5bcf07a (patch)
tree6071aaa9824ade430d70cba71650efb16e77a591 /gdb/main.c
parent4683ebe4e2ebe3d956e90b55271a01fc6ce735cf (diff)
downloadgdb-3aa48797ecc40f0b9fa07da4685595b9a5bcf07a.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)