2012-06-13 Pedro Alves <palves@redhat.com>
authorPedro Alves <palves@redhat.com>
Wed, 13 Jun 2012 11:06:52 +0000 (11:06 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 13 Jun 2012 11:06:52 +0000 (11:06 +0000)
commit5eb3b0622d103b592574538605fb0c6b16b24576
treee7e9549d7a128f92280c03f59bfa30595e199032
parentb0f0569128f5ae1d54e4b830c87880b41699f570
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.
gdb/ChangeLog
gdb/serial.c
gdb/serial.h