diff options
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r-- | gdb/fork-child.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c index 988154a..9eadbc9 100644 --- a/gdb/fork-child.c +++ b/gdb/fork-child.c @@ -448,7 +448,7 @@ startup_inferior (int ntraps) struct target_waitstatus ws; memset (&ws, 0, sizeof (ws)); - event_ptid = target_wait (resume_ptid, &ws); + event_ptid = target_wait (resume_ptid, &ws, 0); if (ws.kind == TARGET_WAITKIND_IGNORE) /* The inferior didn't really stop, keep waiting. */ |