+<<<<<<< 2.6 is dead >>>>>>>
/* Native-dependent code for Lynx running on i386's, for GDB.
Copyright 1988, 1989, 1991, 1992, 1993
Free Software Foundation, Inc.
of error; store status through argument pointer STATUS. */
int
-child_wait (status)
+child_wait (pid, status)
+ int pid;
int *status;
{
- int pid;
int save_errno;
int thread;
{
if (save_errno == EINTR)
continue;
- fprintf (stderr, "Child process unexpectedly missing: %s.\n",
+ fprintf_unfiltered (gdb_stderr, "Child process unexpectedly missing: %s.\n",
safe_strerror (save_errno));
*status = 42; /* Claim it exited with signal 42 */
return -1;