aboutsummaryrefslogtreecommitdiff
path: root/gdb/inf-ttrace.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-09-22 10:22:28 +0000
committerTristan Gingold <gingold@adacore.com>2011-09-22 10:22:28 +0000
commite69860f1b6d6e38cc5de31a9dc1138015182c7d5 (patch)
tree0440500af65431119a8f792b2967d84b63e5064f /gdb/inf-ttrace.c
parent7cf3bbff3627f9650721a2f8c07581e75208d30d (diff)
downloadgdb-e69860f1b6d6e38cc5de31a9dc1138015182c7d5.zip
gdb-e69860f1b6d6e38cc5de31a9dc1138015182c7d5.tar.gz
gdb-e69860f1b6d6e38cc5de31a9dc1138015182c7d5.tar.bz2
2011-09-22 Tristan Gingold <gingold@adacore.com>
* fork-child.c (fork_inferior): Add exec_fun parameter. Call exec_fun or execvp. * inferior.h: Adjust prototype. * gnu-nat.c (gnu_create_inferior): Adjust fork_inferior call. * inf-ttrace.c (inf_ttrace_create_inferior): Ditto. * inf-ptrace.c (inf_ptrace_create_inferior): Ditto. * procfs.c (procfs_create_inferior): Ditto. * darwin-nat.c (darwin_execvp): New function. (darwin_create_inferior): Use it.
Diffstat (limited to 'gdb/inf-ttrace.c')
-rw-r--r--gdb/inf-ttrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/inf-ttrace.c b/gdb/inf-ttrace.c
index ab075db..0ab6580 100644
--- a/gdb/inf-ttrace.c
+++ b/gdb/inf-ttrace.c
@@ -650,7 +650,7 @@ inf_ttrace_create_inferior (struct target_ops *ops, char *exec_file,
gdb_assert (inf_ttrace_vfork_ppid == -1);
pid = fork_inferior (exec_file, allargs, env, inf_ttrace_me, NULL,
- inf_ttrace_prepare, NULL);
+ inf_ttrace_prepare, NULL, NULL);
inf_ttrace_him (ops, pid);
}