* lin-lwp.c (child_wait): Continue inferior after processing
authorUlrich Weigand <uweigand@de.ibm.com>
Fri, 6 Aug 2004 13:42:05 +0000 (13:42 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Fri, 6 Aug 2004 13:42:05 +0000 (13:42 +0000)
PTRACE_EVENT_CLONE event.

gdb/ChangeLog
gdb/lin-lwp.c

index 2edb6c53d849df008cbaaec721ccc7384d512e35..d06338d253a0952c05f9aaef4a4848a66bb249ba 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-06  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * lin-lwp.c (child_wait): Continue inferior after processing
+       PTRACE_EVENT_CLONE event.
+
 2004-08-05  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * MAINTAINERS: Add self to Write-After-Approval.
index 10ee38024bc5a1e5a118a250286c04e61117705e..5971630f9e81a3b2744cd39702cf888ef40300e0 100644 (file)
@@ -1213,6 +1213,7 @@ child_wait (ptid_t ptid, struct target_waitstatus *ourstatus)
            {
              ptrace (PTRACE_DETACH, ourstatus->value.related_pid, 0, 0);
              ourstatus->kind = TARGET_WAITKIND_IGNORE;
+             ptrace (PTRACE_CONT, pid, 0, 0);
              pid = -1;
              save_errno = EINTR;
            }