This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Zap more #ifdef HAVE_VFORK
- To: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- Subject: [patch] Zap more #ifdef HAVE_VFORK
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Mon, 26 Mar 2001 11:45:32 -0500
Missed this when re-fixing the autoconfed vfork() call.
Andrew
? diffs
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/ChangeLog,v
retrieving revision 1.1113
diff -p -r1.1113 ChangeLog
*** ChangeLog 2001/03/26 12:25:30 1.1113
--- ChangeLog 2001/03/26 16:40:15
***************
*** 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: fork-child.c
===================================================================
RCS file: /cvs/src/src/gdb/fork-child.c,v
retrieving revision 1.10
diff -p -r1.10 fork-child.c
*** fork-child.c 2001/03/23 22:48:44 1.10
--- fork-child.c 2001/03/26 16:40:16
*************** clone_and_follow_inferior (int child_pid
*** 421,434 ****
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");
--- 421,430 ----