* linux-low.c (linux_kill_one_lwp, linux_kill)
authorPedro Alves <palves@redhat.com>
Fri, 30 Apr 2010 21:36:45 +0000 (21:36 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 30 Apr 2010 21:36:45 +0000 (21:36 +0000)
commit02fc4de7fc2ac1002685816b8aa08a36e4bdd164
tree0b150590107e54e64bcf9bd3c46f688c2ad02bdc
parent062cbcd610654f7d6ec7cb973179e04a2838e502
* linux-low.c (linux_kill_one_lwp, linux_kill)
(linux_detach_one_lwp): Adjust to send_sigstop interface change.
(send_sigstop): Take an lwp_info as parameter instead.  Queue a
SIGSTOP even if the LWP is stopped.
(send_sigstop_callback): New.
(stop_all_lwps): Use send_sigstop_callback instead.
(linux_resume_one_thread): Adjust.
(proceed_one_lwp): Still proceed an LWP that the client has
requested to stop, if we haven't reported it as stopped yet.  Make
sure that LWPs the client want stopped, have a pending SIGSTOP.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c