diff options
author | Pedro Alves <palves@redhat.com> | 2012-06-13 11:06:52 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-13 11:06:52 +0000 |
commit | 5eb3b0622d103b592574538605fb0c6b16b24576 (patch) | |
tree | e7e9549d7a128f92280c03f59bfa30595e199032 /gdb/serial.h | |
parent | b0f0569128f5ae1d54e4b830c87880b41699f570 (diff) | |
download | gdb-5eb3b0622d103b592574538605fb0c6b16b24576.zip gdb-5eb3b0622d103b592574538605fb0c6b16b24576.tar.gz gdb-5eb3b0622d103b592574538605fb0c6b16b24576.tar.bz2 |
2012-06-13 Pedro Alves <palves@redhat.com>
Partial revert of previous change.
* serial.c (scb_base): New global.
(serial_for_fd): New.
(serial_open, serial_fdopen_ops): Link new serial in open serials
chain.
(do_serial_close): Unlink serial from the open serials chain.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r-- | gdb/serial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/serial.h b/gdb/serial.h index 187ed03..b164062 100644 --- a/gdb/serial.h +++ b/gdb/serial.h @@ -249,6 +249,7 @@ struct serial still need to wait for this many more seconds. */ char *name; /* The name of the device or host */ + struct serial *next; /* Pointer to the next `struct serial *' */ int debug_p; /* Trace this serial devices operation. */ int async_state; /* Async internal state. */ void *async_context; /* Async event thread's context */ |