diff options
Diffstat (limited to 'gdb/gdbserver')
-rw-r--r-- | gdb/gdbserver/remote-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 35faf02..cfde0a7 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -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); |