forked from Imagelibrary/binutils-gdb
* lin-lwp.c (child_wait): Call linux_record_stopped_pid.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user