aboutsummaryrefslogtreecommitdiff
path: root/gdb/fork-child.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-26 16:44:32 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-26 16:44:32 +0000
commitaf8021274cf839def6629c0e416594cdd179ab53 (patch)
tree620d5729348fe5272c897c9829c887ffaf1ed03f /gdb/fork-child.c
parent5b31405b6e36f88ddbe9d599263f2b4a52730e18 (diff)
downloadgdb-af8021274cf839def6629c0e416594cdd179ab53.zip
gdb-af8021274cf839def6629c0e416594cdd179ab53.tar.gz
gdb-af8021274cf839def6629c0e416594cdd179ab53.tar.bz2
* fork-child.c (clone_and_follow_inferior): Delete #ifdef
HAVE_VFORK.
Diffstat (limited to 'gdb/fork-child.c')
-rw-r--r--gdb/fork-child.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/fork-child.c b/gdb/fork-child.c
index a32ab8e..a952d4f 100644
--- a/gdb/fork-child.c
+++ b/gdb/fork-child.c
@@ -421,14 +421,10 @@ clone_and_follow_inferior (int child_pid, int *followed_child)
error ("error getting pipe for handoff semaphore");
/* Clone the debugger. */
-#ifdef HAVE_VFORK
if (debug_fork)
debugger_pid = fork ();
else
debugger_pid = vfork ();
-#else
- debugger_pid = fork ();
-#endif
if (debugger_pid < 0)
perror_with_name ("fork");