diff options
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r-- | gdb/fork-child.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c index d850792..86c5e91 100644 --- a/gdb/fork-child.c +++ b/gdb/fork-child.c @@ -394,6 +394,8 @@ fork_inferior (char *exec_file_arg, char *allargs, char **env, init_thread_list (); + add_inferior (pid); + /* Needed for wait_for_inferior stuff below. */ inferior_ptid = pid_to_ptid (pid); |