diff options
author | Keith Seitz <keiths@redhat.com> | 2003-02-13 18:07:24 +0000 |
---|---|---|
committer | Keith Seitz <keiths@redhat.com> | 2003-02-13 18:07:24 +0000 |
commit | 11b24dc5fa5277597fb9ccf609770bab0f85da72 (patch) | |
tree | 27dbfc63785587c91c0d621c8799ce15e78c8dd0 /gdb/gdb.c | |
parent | 93012447b285c54b4e0b3d3944cf3a235aa5338e (diff) | |
download | gdb-11b24dc5fa5277597fb9ccf609770bab0f85da72.tar.gz |
* 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.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdb.c b/gdb/gdb.c index c0bc4875b32..b6eae2b59bd 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); } |