diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2004-08-06 13:42:05 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2004-08-06 13:42:05 +0000 |
commit | bf0d233dddf80e14b82708484327885bab6765b4 (patch) | |
tree | 3eb8a5ce1aabe50b417c3e9d2b5f577691521d95 | |
parent | efcb5b0e5fda6b3589d00eeb057800fe856f909b (diff) | |
download | gdb-bf0d233dddf80e14b82708484327885bab6765b4.zip gdb-bf0d233dddf80e14b82708484327885bab6765b4.tar.gz gdb-bf0d233dddf80e14b82708484327885bab6765b4.tar.bz2 |
* lin-lwp.c (child_wait): Continue inferior after processing
PTRACE_EVENT_CLONE event.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/lin-lwp.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2edb6c5..d06338d 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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. diff --git a/gdb/lin-lwp.c b/gdb/lin-lwp.c index 10ee380..5971630 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; } |