]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/inflow.c
import gdb-1999-09-21
[thirdparty/binutils-gdb.git] / gdb / inflow.c
index da25bd46a78ae1d39ab45698b584a74151de042d..bbd92b9e9a3b9401537239c924da274b541416c6 100644 (file)
@@ -31,9 +31,6 @@
 #include "gdb_string.h"
 #include <signal.h>
 #include <fcntl.h>
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif
@@ -495,7 +492,7 @@ child_terminal_info (args, from_tty)
   printf_filtered ("Process group = %d\n", inferior_process_group);
 #endif
 
-  SERIAL_PRINT_TTY_STATE (stdin_serial, inferior_ttystate);
+  SERIAL_PRINT_TTY_STATE (stdin_serial, inferior_ttystate, gdb_stdout);
 }
 \f
 /* NEW_TTY_PREFORK is called before forking a new child process,