check in serial.h change that grossman made but forgot to check in
This commit is contained in:
parent
0e57a49587
commit
372d09c3fd
13
gdb/serial.h
13
gdb/serial.h
|
@ -23,12 +23,13 @@ typedef PTR ttystate;
|
||||||
|
|
||||||
struct _serial_t
|
struct _serial_t
|
||||||
{
|
{
|
||||||
int fd;
|
int fd; /* File descriptor */
|
||||||
struct serial_ops *ops;
|
struct serial_ops *ops; /* Function vector */
|
||||||
ttystate ttystate;
|
ttystate ttystate; /* Not used (yet) */
|
||||||
int bufcnt;
|
int bufcnt; /* Amount of data in receive buffer */
|
||||||
unsigned char *bufp;
|
unsigned char *bufp; /* Current byte */
|
||||||
unsigned char buf[BUFSIZ];
|
unsigned char buf[BUFSIZ]; /* Da buffer itself */
|
||||||
|
int current_timeout; /* (termio{s} only), last value of VTIME */
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct _serial_t *serial_t;
|
typedef struct _serial_t *serial_t;
|
||||||
|
|
Loading…
Reference in New Issue