aboutsummaryrefslogtreecommitdiff
path: root/gdb/lin-lwp.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-08-17 18:52:59 +0000
committerDaniel Jacobowitz <drow@false.org>2003-08-17 18:52:59 +0000
commitc538c11c4887a6619b7f2a3d345382efbc1cda7d (patch)
treeb84b649ce4df691351c752e349f44c96b3eca262 /gdb/lin-lwp.c
parent4de4c07c6b48659ae212352236be9413c853a23c (diff)
downloadgdb-c538c11c4887a6619b7f2a3d345382efbc1cda7d.zip
gdb-c538c11c4887a6619b7f2a3d345382efbc1cda7d.tar.gz
gdb-c538c11c4887a6619b7f2a3d345382efbc1cda7d.tar.bz2
* lin-lwp.c (child_wait): Call linux_record_stopped_pid.
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;
}