diff options
author | Pedro Alves <palves@redhat.com> | 2012-06-11 20:36:53 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2012-06-11 20:36:53 +0000 |
commit | 891661e8e5978859393b3c0518d256ccea9ef41d (patch) | |
tree | 175915f3e2f821feafd7e8ce32917e0afb2dbf91 /gdb/windows-termcap.c | |
parent | 877dce5b0d75d33cf93a4cda88a73cf828be5875 (diff) | |
download | gdb-891661e8e5978859393b3c0518d256ccea9ef41d.tar.gz |
2012-06-11 Pedro Alves <palves@redhat.com>
* ser-base.c (run_async_handler_and_reschedule): New.
(fd_event, push_event): Use it.
* serial.c (serial_open, serial_fdopen_ops): Set the initial
reference count to 1.
(do_serial_close): Set the bufp field to NULL. Use serial_unref
instead of xfree.
(serial_is_open, serial_ref, serial_unref): New.
* serial.h (serial_open): Adjust comment.
(serial_is_open): Declare.
(serial_close): Adjust comment.
(serial_ref, serial_unref) Declare.
(struct serial): New field 'refcnt'.
Diffstat (limited to 'gdb/windows-termcap.c')
0 files changed, 0 insertions, 0 deletions