diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-05-07 04:00:42 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-05-07 04:00:42 +0000 |
commit | 372d09c3fd7f5da6233cee011f98aed1f2007a1f (patch) | |
tree | 287b44155a30b042d50cb30e85510dfe73fa3b9d /gdb/serial.h | |
parent | 0e57a4958787235adf922cdb1907487e324e9b57 (diff) | |
download | gdb-372d09c3fd7f5da6233cee011f98aed1f2007a1f.zip gdb-372d09c3fd7f5da6233cee011f98aed1f2007a1f.tar.gz gdb-372d09c3fd7f5da6233cee011f98aed1f2007a1f.tar.bz2 |
check in serial.h change that grossman made but forgot to check in
Diffstat (limited to 'gdb/serial.h')
-rw-r--r-- | gdb/serial.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/gdb/serial.h b/gdb/serial.h index 1fbd488..9aa9425 100644 --- a/gdb/serial.h +++ b/gdb/serial.h @@ -23,12 +23,13 @@ typedef PTR ttystate; struct _serial_t { - int fd; - struct serial_ops *ops; - ttystate ttystate; - int bufcnt; - unsigned char *bufp; - unsigned char buf[BUFSIZ]; + int fd; /* File descriptor */ + struct serial_ops *ops; /* Function vector */ + ttystate ttystate; /* Not used (yet) */ + int bufcnt; /* Amount of data in receive buffer */ + unsigned char *bufp; /* Current byte */ + unsigned char buf[BUFSIZ]; /* Da buffer itself */ + int current_timeout; /* (termio{s} only), last value of VTIME */ }; typedef struct _serial_t *serial_t; |