2012-06-11 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Mon, 11 Jun 2012 20:33:56 +0000 (20:33 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 11 Jun 2012 20:33:56 +0000 (20:33 +0000)
commitd5ad6aa5ce9ef3812c344bfebfb27bda36d8cb46
treea92b7ec8c6f11320ba237736fb034feb9919cc24
parent318aa544a85db77feb3450ee9f4e7f37f2b2b9c0
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.
gdb/ChangeLog
gdb/serial.c
gdb/serial.h