diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 9 | ||||
-rw-r--r-- | gdb/main.c | 2 | ||||
-rw-r--r-- | gdb/remote-sim.c | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1c331b7..13c2ba8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,12 @@ +2004-02-02 Fred Fish <fnf@redhat.com> + + * main.c (gdb_stdtarg): Move definition to group with other + gdb_stdtarg definitions. + * remote-sim.c (gdb_os_write_stderr): Write output to + gdb_stdtargerr stream instead of gdb_stdtarg stream. + (gdb_os_flush_stderr): Flush gdb_stdtargerr steam instead of + gdb_stderr stream. + 2004-02-01 Daniel Jacobowitz <drow@mvista.com> * Makefile.in (mips-linux-nat.o): Update dependencies. @@ -72,10 +72,10 @@ char *gdb_sysroot = 0; struct ui_file *gdb_stdout; struct ui_file *gdb_stderr; struct ui_file *gdb_stdlog; -struct ui_file *gdb_stdtarg; struct ui_file *gdb_stdin; /* target IO streams */ struct ui_file *gdb_stdtargin; +struct ui_file *gdb_stdtarg; struct ui_file *gdb_stdtargerr; /* Whether to enable writing into executable and core files */ diff --git a/gdb/remote-sim.c b/gdb/remote-sim.c index b1dc94e..243a3ae 100644 --- a/gdb/remote-sim.c +++ b/gdb/remote-sim.c @@ -221,7 +221,7 @@ gdb_os_write_stderr (host_callback *p, const char *buf, int len) { b[0] = buf[i]; b[1] = 0; - fputs_unfiltered (b, gdb_stdtarg); + fputs_unfiltered (b, gdb_stdtargerr); } return len; } @@ -231,7 +231,7 @@ gdb_os_write_stderr (host_callback *p, const char *buf, int len) static void gdb_os_flush_stderr (host_callback *p) { - gdb_flush (gdb_stderr); + gdb_flush (gdb_stdtargerr); } /* GDB version of printf_filtered callback. */ |