X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fnat%2Ffork-inferior.h;h=9cbe9bd19d5a3b00591fa7b8efdc320550d29278;hb=5b6d1e4fa4fc6827c7b3f0e99ff120dfa14d65d2;hp=c387088c4bce90e4944aa2935c54e4f03dc917fd;hpb=75c6c844d9df37761e0e834df057b89e41816e55;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/nat/fork-inferior.h b/gdb/nat/fork-inferior.h index c387088c4b..9cbe9bd19d 100644 --- a/gdb/nat/fork-inferior.h +++ b/gdb/nat/fork-inferior.h @@ -22,6 +22,8 @@ #include +struct process_stratum_target; + /* Number of traps that happen between exec'ing the shell to run an inferior and when we finally get to the inferior code, not counting the exec for the shell. This is 1 on all supported @@ -50,7 +52,8 @@ extern pid_t fork_inferior (const char *exec_file_arg, /* Accept NTRAPS traps from the inferior. Return the ptid of the inferior being started. */ -extern ptid_t startup_inferior (pid_t pid, int ntraps, +extern ptid_t startup_inferior (process_stratum_target *proc_target, + pid_t pid, int ntraps, struct target_waitstatus *mystatus, ptid_t *myptid);