summaryrefslogtreecommitdiff
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
commit877dce5b0d75d33cf93a4cda88a73cf828be5875 (patch)
tree990555c27684b7f60738f79749ad2bfff09cbb35 /gdb/serial.h
parentf1bef71ff8089217ade0f121c05471b0175701cd (diff)
downloadgdb-877dce5b0d75d33cf93a4cda88a73cf828be5875.tar.gz
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 02a3b2d4737..8ba8ae6ec95 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 */