From bf0d233dddf80e14b82708484327885bab6765b4 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Fri, 6 Aug 2004 13:42:05 +0000 Subject: [PATCH] * lin-lwp.c (child_wait): Continue inferior after processing PTRACE_EVENT_CLONE event. --- gdb/ChangeLog | 5 +++++ gdb/lin-lwp.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2edb6c53d84..d06338d253a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2004-08-06 Ulrich Weigand + + * lin-lwp.c (child_wait): Continue inferior after processing + PTRACE_EVENT_CLONE event. + 2004-08-05 Nathanael Nerode * MAINTAINERS: Add self to Write-After-Approval. diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c index 10ee38024bc..5971630f9e8 100644 --- a/gdb/lin-lwp.c +++ b/gdb/lin-lwp.c @@ -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; } -- 2.30.2