* lin-lwp.c (child_wait): Continue inferior after processing

PTRACE_EVENT_CLONE event.
This commit is contained in:
Ulrich Weigand 2004-08-06 13:42:05 +00:00
parent efcb5b0e5f
commit bf0d233ddd
2 changed files with 6 additions and 0 deletions

View 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.

View 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;
}