diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-01-02 13:29:55 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-01-02 13:29:55 +0000 |
commit | 17f147ec12e6fff1c3a028d901abe26b3bc3ec40 (patch) | |
tree | ba03f361c2cea667b65221bde4dacac0eb986a2f /gdb/main.c | |
parent | 6d59758b05cf711dfbabdadee468406370226df5 (diff) | |
download | gdb-17f147ec12e6fff1c3a028d901abe26b3bc3ec40.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/main.c b/gdb/main.c index 147fdf2984c..288ec4b1f19 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. */ { |