-/* Native-dependent definitions for Intel 386 running Lynx, for GDB.
- Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc.
+/* Native-dependent definitions for Intel 386 running LynxOS.
+ Copyright 1993 Free Software Foundation, Inc.
This file is part of GDB.
#include <sys/proc.h>
#include "thread.h"
-/* This is the amount to subtract from u.u_ar0
- to get the offset in the core file of the register values. */
+/* This is the amount to subtract from u.u_ar0 to get the offset in
+ the core file of the register values. */
#define KERNEL_U_ADDR USRSTACK
#define WIFTID(x) (((union wait *)&x)->w_tid)
#define CHILD_WAIT
-extern int child_wait PARAMS ((int *status));
+
+extern int child_wait PARAMS ((int pid, int *status));
/* Lynx needs a special definition of this so that we can
print out the pid and thread number seperatly. */