From: Daniel Jacobowitz Date: Thu, 12 Jul 2001 21:04:35 +0000 (+0000) Subject: * gdbserver/remote-utils.c (remote_open): Set VMIN to 1 X-Git-Tag: gdb_5_1-2001-07-29-branchpoint~192 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d0608e50b0526981afb18770b4960d97d2e2fc56;p=platform%2Fupstream%2Fbinutils.git * gdbserver/remote-utils.c (remote_open): Set VMIN to 1 in HAVE_TERMIO/HAVE_TERMIOS cases. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index fe1b460..e21f840 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-07-12 Daniel Jacobowitz + + * gdbserver/remote-utils.c (remote_open): Set VMIN to 1 + in HAVE_TERMIO/HAVE_TERMIOS cases. + 2001-07-12 Mark Kettenis * lin-lwp.c (stop_wait_callback): Add support for flushing 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);