From: Daniel Jacobowitz Date: Sun, 17 Aug 2003 18:53:12 +0000 (+0000) Subject: * lin-lwp.c (child_wait): Call linux_record_stopped_pid. X-Git-Tag: gdb_6_0-2003-10-04-release~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99345213e30d02b587a9f258dda2c724750e1cb0;p=thirdparty%2Fbinutils-gdb.git * lin-lwp.c (child_wait): Call linux_record_stopped_pid. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 701cd557f81..9f18ff9c9ba 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2003-08-17 Daniel Jacobowitz + + * lin-lwp.c (child_wait): Call linux_record_stopped_pid. + 2003-08-17 Daniel Jacobowitz * Makefile.in (i386-linux-nat.o): Update dependencies. diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c index b168b054bc7..ef0cde9718a 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; }