diff options
Diffstat (limited to 'gdb/m3-nat.c')
-rw-r--r-- | gdb/m3-nat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c index fcb7b20..f0707d4 100644 --- a/gdb/m3-nat.c +++ b/gdb/m3-nat.c @@ -1143,6 +1143,9 @@ m3_trace_him (pid) setup_exception_port (); xx_debug ("Now the debugged task is created\n"); + + /* One trap to exec the shell, one to exec the program being debugged. */ + intercept_exec_calls (2); } setup_exception_port () |