aboutsummaryrefslogtreecommitdiff
path: root/gdb/inferior.h
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/inferior.h
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/inferior.h')
-rw-r--r--gdb/inferior.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h
index 0815b65..8aca8dc 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -189,7 +189,9 @@ extern void terminal_init_inferior_with_pgrp (int pgrp);
extern int fork_inferior (char *, char *, char **,
void (*)(void),
- void (*)(int), void (*)(void), char *);
+ void (*)(int), void (*)(void), char *,
+ void (*)(const char *,
+ char * const *, char * const *));
extern void startup_inferior (int);