aboutsummaryrefslogtreecommitdiff
path: root/gdb/lin-lwp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/lin-lwp.c')
-rw-r--r--gdb/lin-lwp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c
index b168b05..ef0cde9 100644
--- a/gdb/lin-lwp.c
+++ b/gdb/lin-lwp.c
@@ -1049,6 +1049,7 @@ child_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
if (pid != -1 && WIFSTOPPED (status) && WSTOPSIG (status) == SIGSTOP
&& pid != GET_PID (inferior_ptid))
{
+ linux_record_stopped_pid (pid);
pid = -1;
save_errno = EINTR;
}