* lin-lwp.c (child_wait): Call linux_record_stopped_pid.

This commit is contained in:
Daniel Jacobowitz 2003-08-17 18:52:59 +00:00
parent 4de4c07c6b
commit c538c11c48
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-08-17 Daniel Jacobowitz <drow@mvista.com>
* lin-lwp.c (child_wait): Call linux_record_stopped_pid.
2003-08-17 Daniel Jacobowitz <drow@mvista.com>
* Makefile.in (i386-linux-nat.o): Update dependencies.

View File

@ -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;
}