aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2004-02-02 16:12:49 +0000
committerFred Fish <fnf@specifix.com>2004-02-02 16:12:49 +0000
commit22e8e3c7c5de936aaf30ff85a967a19137206b6d (patch)
tree5e8935940f4f0df5fd7a45760411d4ec2a386acd /gdb/main.c
parent1cd348be86a4a84730a9603875a1b6baf459fe37 (diff)
downloadgdb-22e8e3c7c5de936aaf30ff85a967a19137206b6d.zip
gdb-22e8e3c7c5de936aaf30ff85a967a19137206b6d.tar.gz
gdb-22e8e3c7c5de936aaf30ff85a967a19137206b6d.tar.bz2
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.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 303bf1c..e199a10 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -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 */