Lines Matching refs:fork
4 Subject: [PATCH] nat/fork-inferior: include linux-ptrace.h
6 To decide whether fork() or vfork() should be used, fork-inferior.c
12 linux-ptrace.h, which is not included by fork-inferior.c. Due to this,
18 with gdbserver"). Indeed, the same fork()/vfork() selection was done,
23 ../nat/fork-inferior.c: In function 'pid_t fork_inferior(const char*, const string&, char**, void (…
24 ../nat/fork-inferior.c:376:11: error: 'fork' was not declared in this scope
25 pid = fork ();
27 ../nat/fork-inferior.c:376:11: note: suggested alternative: 'vfork'
28 pid = fork ();
36 gdb/nat/fork-inferior.c | 1 +
39 diff --git a/gdb/nat/fork-inferior.c b/gdb/nat/fork-inferior.c
41 --- a/gdb/nat/fork-inferior.c
42 +++ b/gdb/nat/fork-inferior.c