* linux-nat.c (linux_nat_resume): In non-stop, also only tag
authorPedro Alves <palves@redhat.com>
Mon, 8 Feb 2010 15:44:09 +0000 (15:44 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 8 Feb 2010 15:44:09 +0000 (15:44 +0000)
commite3e9f5a2912a498fb804786da7afb83bc04c39cf
treeac464d75326e95ffdda0126a1ebc25b5e48f7724
parentbb7c70edcc3262f3a38a7c7b0bb262578d784838
* linux-nat.c (linux_nat_resume): In non-stop, also only tag
resumed LWPs as resumed.
(linux_nat_wait_1): If there's no resumed LWP in the set of LWPs
we're waiting for, bail out with TARGET_WAITKIND_IGNORE, instead
of throwing an internal error.  If an LWP of a process we're not
waiting for reports a signal, don't force collecting a SIGSTOP,
and if it was breakpoint hit in non-stop mode, cancel it.  Don't
go through all LWPs cancelling breakpoints in non-stop mode.
(resume_stopped_resumed_lwps): New.
(linux_nat_wait): Use it.
gdb/ChangeLog
gdb/linux-nat.c