aboutsummaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 09f4cff..b5daec3 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -62,6 +62,7 @@ int dbx_commands = 0;
GDB_FILE *gdb_stdout;
GDB_FILE *gdb_stderr;
GDB_FILE *gdb_stdlog;
+GDB_FILE *gdb_stdtarg;
/* Whether to enable writing into executable and core files */
extern int write_files;
@@ -163,10 +164,12 @@ main (argc, argv)
gdb_stdout = stdio_fileopen (stdout);
gdb_stderr = stdio_fileopen (stderr);
gdb_stdlog = gdb_stderr; /* for moment */
+ gdb_stdtarg = gdb_stderr; /* for moment */
#else
gdb_stdout = tui_fileopen (stdout);
gdb_stderr = tui_fileopen (stderr);
gdb_stdlog = gdb_stdout; /* for moment */
+ gdb_stdtarg = gdb_stderr; /* for moment */
#endif
/* Parse arguments and options. */