diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-01-02 13:29:57 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-01-02 13:29:57 +0000 |
commit | 11bf149050e55914c470eebe0e758d3d8c9a700b (patch) | |
tree | 40e083775261513e26dea47ed77a8c2a1dab6bec /gdb | |
parent | 1fef196fe0fb1b5a57d665928131255640c57f19 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/gdb.c | 1 | ||||
-rw-r--r-- | gdb/main.c | 2 | ||||
-rw-r--r-- | gdb/main.h | 1 |
4 files changed, 12 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 405b212..0882b5f 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2012-01-02 Jan Kratochvil <jan.kratochvil@redhat.com> + + 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. + 2012-01-02 Joel Brobecker <brobecker@adacore.com> * config/djgpp/fnchange.lst: Add entry for ChangeLog-2011. @@ -31,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); } @@ -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. */ { @@ -26,6 +26,7 @@ struct captured_main_args int argc; char **argv; int use_windows; + const char *interpreter_p; }; extern int gdb_main (struct captured_main_args *); |