aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2003-02-13 18:07:24 +0000
committerKeith Seitz <keiths@redhat.com>2003-02-13 18:07:24 +0000
commite46e5ccdd092ca2d34b2611fc66853498e9ebcfe (patch)
treecbc7726bb65b37d242881034f0dc05e7b2476384 /gdb/gdb.c
parent53954f5e85300a6ec1e14300df955e0cd8bd757f (diff)
downloadgdb-e46e5ccdd092ca2d34b2611fc66853498e9ebcfe.zip
gdb-e46e5ccdd092ca2d34b2611fc66853498e9ebcfe.tar.gz
gdb-e46e5ccdd092ca2d34b2611fc66853498e9ebcfe.tar.bz2
* main.h (struct captured_main_args): Add interpreter_p.
* main.c (captured_main): Initialize interpreter_p from context. * gdb.c (main): Set interpreter_p argument. * Makefile.in (gdb.o): Add dependency for interps.h.
Diffstat (limited to 'gdb/gdb.c')
-rw-r--r--gdb/gdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdb.c b/gdb/gdb.c
index c0bc487..b6eae2b 100644
--- a/gdb/gdb.c
+++ b/gdb/gdb.c
@@ -21,6 +21,7 @@
#include "defs.h"
#include "main.h"
#include "gdb_string.h"
+#include "interps.h"
int
main (int argc, char **argv)
@@ -30,5 +31,6 @@ main (int argc, char **argv)
args.argc = argc;
args.argv = argv;
args.use_windows = 0;
+ args.interpreter_p = INTERP_CONSOLE;
return gdb_main (&args);
}