aboutsummaryrefslogtreecommitdiff
path: root/gdb/procfs.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/procfs.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/procfs.c')
-rw-r--r--gdb/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c
index 917e122..871dd47 100644
--- a/gdb/procfs.c
+++ b/gdb/procfs.c
@@ -4915,7 +4915,7 @@ procfs_create_inferior (struct target_ops *ops, char *exec_file,
}
pid = fork_inferior (exec_file, allargs, env, procfs_set_exec_trap,
- NULL, NULL, shell_file);
+ NULL, NULL, shell_file, NULL);
procfs_init_inferior (ops, pid);
}