diff options
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index e667c82..1c3b6d9 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -1523,6 +1523,9 @@ procfs_init_inferior (pid) create_procinfo (pid); add_thread (pid); /* Setup initial thread */ + + /* One trap to exec the shell, one to exec the program being debugged. */ + startup_inferior (2); } /* |