* gdbserver/{remote-gutils.c remote-server.c Makefile.in
[deliverable/binutils-gdb.git] / gdb / serial.h
index 1fbd488c8b69418f7ea7bfa93415f1bc0ed2ddd8..9aa94250c97b0fa89f6edfc88d227dfa90ffaefd 100644 (file)
@@ -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;
This page took 0.023419 seconds and 4 git commands to generate.