* lin-lwp.c (child_wait): Call linux_record_stopped_pid.
authorDaniel Jacobowitz <drow@false.org>
Sun, 17 Aug 2003 18:52:59 +0000 (18:52 +0000)
committerDaniel Jacobowitz <drow@false.org>
Sun, 17 Aug 2003 18:52:59 +0000 (18:52 +0000)
gdb/ChangeLog
gdb/lin-lwp.c

index 672e05557a651581b73e3886be749c128e6633a8..fe047c668ffacce80ddfbd7b26554ea6ba7b4367 100644 (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.
index b168b054bc765c3b76a15cbe7a7a287466b20ee7..ef0cde9718a63443a881726510d51ab934e62086 100644 (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;
        }