From af8021274cf839def6629c0e416594cdd179ab53 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 26 Mar 2001 16:44:32 +0000 Subject: [PATCH] * fork-child.c (clone_and_follow_inferior): Delete #ifdef HAVE_VFORK. --- gdb/ChangeLog | 5 +++++ gdb/fork-child.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index b1c01fe3b9b..a2ca5abe2e7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-03-26 Andrew Cagney + + * fork-child.c (clone_and_follow_inferior): Delete #ifdef + HAVE_VFORK. + 2001-03-26 Mark Kettenis * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef. diff --git a/gdb/fork-child.c b/gdb/fork-child.c index a32ab8eb1fd..a952d4f98d5 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"); -- 2.30.2