aboutsummaryrefslogtreecommitdiff
path: root/gdb/inftarg.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/inftarg.c')
-rw-r--r--gdb/inftarg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inftarg.c b/gdb/inftarg.c
index 9439a9f..592b5d9 100644
--- a/gdb/inftarg.c
+++ b/gdb/inftarg.c
@@ -571,7 +571,7 @@ child_create_inferior (exec_file, allargs, env)
else
shell_file = tryname;
- fork_inferior (exec_file, allargs, env, ptrace_me, ptrace_him, pre_fork_inferior, shell_file);
+ fork_inferior (exec_file, allargs, env, ptrace_me, ptrace_him, pre_fork_inferior, NULL);
#else
fork_inferior (exec_file, allargs, env, ptrace_me, ptrace_him, NULL, NULL);
#endif