mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-13 10:55:46 +08:00
* gdbserver/remote-utils.c (remote_open): Set VMIN to 1
in HAVE_TERMIO/HAVE_TERMIOS cases.
This commit is contained in:
@ -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
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user