* remote.c (remote_close): Unregister remote_desc from the event
authorPedro Alves <palves@redhat.com>
Wed, 15 Oct 2008 21:39:53 +0000 (21:39 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 15 Oct 2008 21:39:53 +0000 (21:39 +0000)
commitce5ce7edede13ce783c0825bea168c67b1edd0af
treea7a3b3f52edc40f21a4f64336223415dc3628463
parent1c5cfe8615a947f26ef1569f3af3017bb1c63899
* remote.c (remote_close): Unregister remote_desc from the event
loop.  Always restore the SIGINT handler.  Discard all inferiors
here.
(remote_detach_1, remote_disconnect): Don't unregister the file
descriptor from the event loop here.
(interrupt_query, readchar, getpkt_sane): Pop the target instead
of morning the current inferior.
(remote_kill): Don't unregister the file descriptor from the event
loop here.
(remote_mourn_1): Don't discard inferiors here.
gdb/ChangeLog
gdb/remote.c