From: Ulrich Weigand Date: Fri, 6 Aug 2004 13:42:05 +0000 (+0000) Subject: * lin-lwp.c (child_wait): Continue inferior after processing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf0d233dddf80e14b82708484327885bab6765b4;p=binutils-gdb.git * lin-lwp.c (child_wait): Continue inferior after processing PTRACE_EVENT_CLONE event. --- 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; }