* fork-child.c (clone_and_follow_inferior): Delete #ifdef
authorAndrew Cagney <cagney@redhat.com>
Mon, 26 Mar 2001 16:44:32 +0000 (16:44 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 26 Mar 2001 16:44:32 +0000 (16:44 +0000)
HAVE_VFORK.

gdb/ChangeLog
gdb/fork-child.c

index b1c01fe3b9b540db51fa15f4e56a5392b67fa432..a2ca5abe2e7394c7a97a6103e92ca4267905ba71 100644 (file)
@@ -1,3 +1,8 @@
+2001-03-26  Andrew Cagney  <ac131313@redhat.com>
+
+       * fork-child.c (clone_and_follow_inferior): Delete #ifdef
+       HAVE_VFORK.
+
 2001-03-26  Mark Kettenis  <kettenis@gnu.org>
 
        * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
index a32ab8eb1fd47f6e240c1be1e91c9b44bd63b8d5..a952d4f98d5d30491310e9b6891d37ce92a788ec 100644 (file)
@@ -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");
This page took 0.026231 seconds and 4 git commands to generate.