mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
Reviewed and approved by cagney@redhat.com.
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.
This commit is contained in:
parent
1cd348be86
commit
22e8e3c7c5
@ -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 */
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user