aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-01-02 13:29:57 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-01-02 13:29:57 +0000
commit11bf149050e55914c470eebe0e758d3d8c9a700b (patch)
tree40e083775261513e26dea47ed77a8c2a1dab6bec /gdb/main.c
parent1fef196fe0fb1b5a57d665928131255640c57f19 (diff)
downloadgdb-11bf149050e55914c470eebe0e758d3d8c9a700b.zip
gdb-11bf149050e55914c470eebe0e758d3d8c9a700b.tar.gz
gdb-11bf149050e55914c470eebe0e758d3d8c9a700b.tar.bz2
gdb/
Revert this part of: 2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> Remove the gdbtui binary. * gdb.c (main): Remove args.interpreter_p initialization. * main.c (captured_main): Set INTERPRETER_P directly by INTERP_CONSOLE. * main.h (struct captured_main_args): Remove interpreter_p.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 147fdf2..288ec4b 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -380,7 +380,7 @@ captured_main (void *data)
this captured main, or one specified by the user at start up, or
the console. Initialize the interpreter to the one requested by
the application. */
- interpreter_p = xstrdup (INTERP_CONSOLE);
+ interpreter_p = xstrdup (context->interpreter_p);
/* Parse arguments and options. */
{