mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 18:08:24 +08:00
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.
This commit is contained in:
@ -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>
|
2012-01-02 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
|
* config/djgpp/fnchange.lst: Add entry for ChangeLog-2011.
|
||||||
|
@ -31,5 +31,6 @@ main (int argc, char **argv)
|
|||||||
args.argc = argc;
|
args.argc = argc;
|
||||||
args.argv = argv;
|
args.argv = argv;
|
||||||
args.use_windows = 0;
|
args.use_windows = 0;
|
||||||
|
args.interpreter_p = INTERP_CONSOLE;
|
||||||
return gdb_main (&args);
|
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
|
this captured main, or one specified by the user at start up, or
|
||||||
the console. Initialize the interpreter to the one requested by
|
the console. Initialize the interpreter to the one requested by
|
||||||
the application. */
|
the application. */
|
||||||
interpreter_p = xstrdup (INTERP_CONSOLE);
|
interpreter_p = xstrdup (context->interpreter_p);
|
||||||
|
|
||||||
/* Parse arguments and options. */
|
/* Parse arguments and options. */
|
||||||
{
|
{
|
||||||
|
@ -26,6 +26,7 @@ struct captured_main_args
|
|||||||
int argc;
|
int argc;
|
||||||
char **argv;
|
char **argv;
|
||||||
int use_windows;
|
int use_windows;
|
||||||
|
const char *interpreter_p;
|
||||||
};
|
};
|
||||||
|
|
||||||
extern int gdb_main (struct captured_main_args *);
|
extern int gdb_main (struct captured_main_args *);
|
||||||
|
Reference in New Issue
Block a user