]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdbserver/remote-utils.c (remote_open): Set VMIN to 1
authorDaniel Jacobowitz <drow@false.org>
Thu, 12 Jul 2001 21:04:35 +0000 (21:04 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 12 Jul 2001 21:04:35 +0000 (21:04 +0000)
        in HAVE_TERMIO/HAVE_TERMIOS cases.

gdb/ChangeLog
gdb/gdbserver/remote-utils.c

index fe1b460d1fd003507f0e2d9af73ba35031ffaa84..e21f84081270eff5fdf75c94df21780a59a4b75d 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-12  Daniel Jacobowitz  <drow@mvista.com>
+
+       * gdbserver/remote-utils.c (remote_open):  Set VMIN to 1
+       in HAVE_TERMIO/HAVE_TERMIOS cases.
+
 2001-07-12  Mark Kettenis  <kettenis@gnu.org>
 
        * lin-lwp.c (stop_wait_callback): Add support for flushing
index 35faf028d23f97216bd39a0430f070b32e7cb8aa..cfde0a7dae4c9622cc5fccce138f5485163c3fdf 100644 (file)
@@ -64,7 +64,7 @@ remote_open (char *name)
        termios.c_lflag = 0;
        termios.c_cflag &= ~(CSIZE | PARENB);
        termios.c_cflag |= CLOCAL | CS8;
-       termios.c_cc[VMIN] = 0;
+       termios.c_cc[VMIN] = 1;
        termios.c_cc[VTIME] = 0;
 
        tcsetattr (remote_desc, TCSANOW, &termios);
@@ -81,7 +81,7 @@ remote_open (char *name)
        termio.c_lflag = 0;
        termio.c_cflag &= ~(CSIZE | PARENB);
        termio.c_cflag |= CLOCAL | CS8;
-       termio.c_cc[VMIN] = 0;
+       termio.c_cc[VMIN] = 1;
        termio.c_cc[VTIME] = 0;
 
        ioctl (remote_desc, TCSETA, &termio);