+2001-04-08 Kevin Buettner <kevinb@redhat.com>
+
+ * fork-child.c (fork_inferior, clone_and_follow_inferior):
+ Document fact that apparent call to vfork() might actually be
+ a call to fork() instead.
+ * ser-pipe.c (pipe_open): Likewise.
+
2001-04-08 Kevin Buettner <kevinb@redhat.com>
* printcmd.c (print_frame_args): Use a cleanup to invoke
if (pre_trace_fun != NULL)
(*pre_trace_fun) ();
+ /* Create the child process. Note that the apparent call to vfork()
+ below *might* actually be a call to fork() due to the fact that
+ autoconf will ``#define vfork fork'' on certain platforms. */
if (debug_fork)
pid = fork ();
else
if (status < 0)
error ("error getting pipe for handoff semaphore");
- /* Clone the debugger. */
+ /* Clone the debugger. Note that the apparent call to vfork()
+ below *might* actually be a call to fork() due to the fact that
+ autoconf will ``#define vfork fork'' on certain platforms. */
if (debug_fork)
debugger_pid = fork ();
else
if (socketpair (AF_UNIX, SOCK_STREAM, 0, pdes) < 0)
return -1;
+ /* Create the child process to run the command in. Note that the
+ apparent call to vfork() below *might* actually be a call to
+ fork() due to the fact that autoconf will ``#define vfork fork''
+ on certain platforms. */
pid = vfork ();
/* Error. */