aboutsummaryrefslogtreecommitdiff
path: root/gdb/serial.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-06-11 20:33:56 +0000
committerPedro Alves <palves@redhat.com>2012-06-11 20:33:56 +0000
commitd5ad6aa5ce9ef3812c344bfebfb27bda36d8cb46 (patch)
treea92b7ec8c6f11320ba237736fb034feb9919cc24 /gdb/serial.h
parent318aa544a85db77feb3450ee9f4e7f37f2b2b9c0 (diff)
downloadgdb-d5ad6aa5ce9ef3812c344bfebfb27bda36d8cb46.zip
gdb-d5ad6aa5ce9ef3812c344bfebfb27bda36d8cb46.tar.gz
gdb-d5ad6aa5ce9ef3812c344bfebfb27bda36d8cb46.tar.bz2
2012-06-11 Pedro Alves <palves@redhat.com>
Remove #if 0'd "connect" command, and unnecessary associated refcounting and serial reuse bits. * serial.h (struct serial): Remove fields 'next' and 'refcnt'. * serial.c (last_serial_opened): Delete. (scb_base): Delete. (serial_open): Adjust. (serial_for_fd): Delete. (serial_fdopen_ops, do_serial_close): Adjust. (serial_fdopen_ops): Adjust.
Diffstat (limited to 'gdb/serial.h')
-rw-r--r--gdb/serial.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/serial.h b/gdb/serial.h
index 02a3b2d..8ba8ae6 100644
--- a/gdb/serial.h
+++ b/gdb/serial.h
@@ -232,8 +232,6 @@ 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 refcnt; /* Number of pointers to this block */
int debug_p; /* Trace this serial devices operation. */
int async_state; /* Async internal state. */
void *async_context; /* Async event thread's context */