* fork-child.c (clone_and_follow_inferior): Delete #ifdef
HAVE_VFORK.
This commit is contained in:
parent
5b31405b6e
commit
af8021274c
|
@ -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>
|
2001-03-26 Mark Kettenis <kettenis@gnu.org>
|
||||||
|
|
||||||
* config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
|
* config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
|
||||||
|
|
|
@ -421,14 +421,10 @@ clone_and_follow_inferior (int child_pid, int *followed_child)
|
||||||
error ("error getting pipe for handoff semaphore");
|
error ("error getting pipe for handoff semaphore");
|
||||||
|
|
||||||
/* Clone the debugger. */
|
/* Clone the debugger. */
|
||||||
#ifdef HAVE_VFORK
|
|
||||||
if (debug_fork)
|
if (debug_fork)
|
||||||
debugger_pid = fork ();
|
debugger_pid = fork ();
|
||||||
else
|
else
|
||||||
debugger_pid = vfork ();
|
debugger_pid = vfork ();
|
||||||
#else
|
|
||||||
debugger_pid = fork ();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (debugger_pid < 0)
|
if (debugger_pid < 0)
|
||||||
perror_with_name ("fork");
|
perror_with_name ("fork");
|
||||||
|
|
Loading…
Reference in New Issue