mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
* mi/mi-interp.c (mi_interpreter_init): Set raw_stdout from
gdb_stdout.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-06-05 Stan Shebs <stan@codesourcery.com>
|
||||||
|
|
||||||
|
* mi/mi-interp.c (mi_interpreter_init): Set raw_stdout from
|
||||||
|
gdb_stdout.
|
||||||
|
|
||||||
2012-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2012-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
* corefile.c (read_memory, read_stack, write_memory): Accept LEN
|
* corefile.c (read_memory, read_stack, write_memory): Accept LEN
|
||||||
|
@ -81,13 +81,12 @@ mi_interpreter_init (struct interp *interp, int top_level)
|
|||||||
const char *name;
|
const char *name;
|
||||||
int mi_version;
|
int mi_version;
|
||||||
|
|
||||||
/* HACK: We need to force stdout/stderr to point at the console.
|
/* Assign the output channel created at startup to its own global,
|
||||||
This avoids any potential side effects caused by legacy code that
|
so that we can create a console channel that encapsulates and
|
||||||
is still using the TUI / fputs_unfiltered_hook. So we set up
|
prefixes all gdb_output-type bits coming from the rest of the
|
||||||
output channels for this now, and swap them in when we are
|
debugger. */
|
||||||
run. */
|
|
||||||
|
|
||||||
raw_stdout = stdio_fileopen (stdout);
|
raw_stdout = gdb_stdout;
|
||||||
|
|
||||||
/* Create MI console channels, each with a different prefix so they
|
/* Create MI console channels, each with a different prefix so they
|
||||||
can be distinguished. */
|
can be distinguished. */
|
||||||
|
Reference in New Issue
Block a user