diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-07-19 23:30:11 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-07-19 23:30:11 +0000 |
commit | 482022f5bf79d6fe2b85d901779d32c9601e4221 (patch) | |
tree | 47be43dc493eb1b1fe9c727c43fea03a1b747375 /gdb/rdi-share | |
parent | 2903e031c7b33e07b2898ff85d1b6c9be230da50 (diff) | |
download | gdb-482022f5bf79d6fe2b85d901779d32c9601e4221.tar.gz |
import gdb-1999-07-19 snapshot
Diffstat (limited to 'gdb/rdi-share')
-rw-r--r-- | gdb/rdi-share/unixcomm.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/gdb/rdi-share/unixcomm.c b/gdb/rdi-share/unixcomm.c index 221ce55b3a4..fbcfe1b81e1 100644 --- a/gdb/rdi-share/unixcomm.c +++ b/gdb/rdi-share/unixcomm.c @@ -8,8 +8,8 @@ /* -*-C-*- * - * $Revision: 1.6 $ - * $Date: 1999/01/28 03:50:16 $ + * $Revision: 1.7 $ + * $Date: 1999/07/15 14:38:39 $ * */ @@ -82,8 +82,8 @@ #endif #ifdef __linux__ -#define SERPORT1 "/dev/cua0" -#define SERPORT2 "/dev/cua1" +#define SERPORT1 "/dev/ttyS0" +#define SERPORT2 "/dev/ttyS1" #define PARPORT1 "/dev/par0" #define PARPORT2 "/dev/par1" #endif @@ -305,15 +305,6 @@ extern void Unix_ResetSerial(void) struct termios terminfo; tcgetattr(serpfd, &terminfo); -#ifdef __CYGWIN32__ - /* Expedient, but it works. */ - terminfo.c_iflag = 0; - terminfo.c_oflag = 0; - terminfo.c_cflag = 48; - terminfo.c_lflag = 0; - terminfo.c_cc[VMIN] = 0; - terminfo.c_cc[VTIME] = 1; -#else terminfo.c_lflag &= ~(ICANON | ISIG | ECHO | IEXTEN); terminfo.c_iflag &= ~(IGNCR | INPCK | ISTRIP | ICRNL | BRKINT); terminfo.c_iflag |= (IXON | IXOFF | IGNBRK); @@ -322,7 +313,6 @@ extern void Unix_ResetSerial(void) terminfo.c_cc[VMIN] = 1; terminfo.c_cc[VTIME] = 0; terminfo.c_oflag &= ~OPOST; -#endif tcsetattr(serpfd, TCSAFLUSH, &terminfo); } |