diff options
author | Pedro Alves <palves@redhat.com> | 2012-06-13 11:06:50 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-13 11:06:50 +0000 |
commit | e02f3d0d618dd79d0a72216b421f4fb9d91db72c (patch) | |
tree | 0826439ecbf6e9d4fff1325725f24223dc449372 /gdb/serial.h | |
parent | ccb430de2b34ed7414e294a9620acfc0b302ac41 (diff) | |
download | gdb-e02f3d0d618dd79d0a72216b421f4fb9d91db72c.tar.gz |
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 187ed031052..b1640622295 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 */ |