aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/i386
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1993-10-30 00:16:25 +0000
committerStan Shebs <shebs@codesourcery.com>1993-10-30 00:16:25 +0000
commit9bebe5008136deb7bed1667f637bb47b0fc1580b (patch)
tree442fabe583d366eeae77d06ee971070718483f15 /gdb/config/i386
parent762df61d4c38314139a7f518e96f747586d45f7c (diff)
downloadgdb-9bebe5008136deb7bed1667f637bb47b0fc1580b.zip
gdb-9bebe5008136deb7bed1667f637bb47b0fc1580b.tar.gz
gdb-9bebe5008136deb7bed1667f637bb47b0fc1580b.tar.bz2
More LynxOS support
Diffstat (limited to 'gdb/config/i386')
-rw-r--r--gdb/config/i386/i386lynx.mh6
-rw-r--r--gdb/config/i386/i386lynx.mt2
-rw-r--r--gdb/config/i386/nm-i386lynx.h11
-rw-r--r--gdb/config/i386/tm-i386lynx.h4
-rw-r--r--gdb/config/i386/xm-i386lynx.h17
5 files changed, 16 insertions, 24 deletions
diff --git a/gdb/config/i386/i386lynx.mh b/gdb/config/i386/i386lynx.mh
index 51b70ba..b979292 100644
--- a/gdb/config/i386/i386lynx.mh
+++ b/gdb/config/i386/i386lynx.mh
@@ -1,8 +1,8 @@
-# Host: Intel 386 running Lynx
-XDEPFILES=
-NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386lynx-nat.o
+# Host: Intel 386 running LynxOS
XM_FILE= xm-i386lynx.h
+XDEPFILES=
NAT_FILE= nm-i386lynx.h
+NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o i386ly-nat.o
REGEX=regex.o
REGEX1=regex.o
GDBSERVER_LIBS= -lbsd
diff --git a/gdb/config/i386/i386lynx.mt b/gdb/config/i386/i386lynx.mt
index 224c12a..56e0cdf 100644
--- a/gdb/config/i386/i386lynx.mt
+++ b/gdb/config/i386/i386lynx.mt
@@ -1,3 +1,3 @@
-# Target: Intel 386 running Lynx
+# Target: Intel 386 running LynxOS
TDEPFILES= exec.o coff-solib.o i386-tdep.o i386-pinsn.o i386ly-tdep.o
TM_FILE= tm-i386lynx.h
diff --git a/gdb/config/i386/nm-i386lynx.h b/gdb/config/i386/nm-i386lynx.h
index e67ec1d..b463501 100644
--- a/gdb/config/i386/nm-i386lynx.h
+++ b/gdb/config/i386/nm-i386lynx.h
@@ -1,5 +1,5 @@
-/* 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.
@@ -31,8 +31,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#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
@@ -54,7 +54,8 @@ i386_register_u_addr PARAMS ((int, int));
#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. */
diff --git a/gdb/config/i386/tm-i386lynx.h b/gdb/config/i386/tm-i386lynx.h
index 1385c96..8faf9eb 100644
--- a/gdb/config/i386/tm-i386lynx.h
+++ b/gdb/config/i386/tm-i386lynx.h
@@ -1,5 +1,5 @@
-/* Macro definitions for i386 running under BSD Unix.
- Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
+/* Macro definitions for Intel 386 running under LynxOS.
+ Copyright 1993 Free Software Foundation, Inc.
This file is part of GDB.
diff --git a/gdb/config/i386/xm-i386lynx.h b/gdb/config/i386/xm-i386lynx.h
index f0c1198..3c6881b 100644
--- a/gdb/config/i386/xm-i386lynx.h
+++ b/gdb/config/i386/xm-i386lynx.h
@@ -1,5 +1,5 @@
-/* Host-dependent definitions for Intel 386 running Lynx, for GDB.
- Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc.
+/* Host-dependent definitions for Intel 386 running LynxOS.
+ Copyright 1993 Free Software Foundation, Inc.
This file is part of GDB.
@@ -19,15 +19,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#define HOST_BYTE_ORDER LITTLE_ENDIAN
-#include <limits.h> /* for INT_MIN, to avoid "INT_MIN
- redefined" warnings from defs.h */
+/* Get generic LynxOS host definitions. */
-/* psignal() is in <signal.h>. */
-
-#define PSIGNAL_IN_SIGNAL_H
-
-/* Get rid of any system-imposed stack limit if possible. */
-
-#define SET_STACK_LIMIT_HUGE
-
-#define MEM_FNS_DECLARED
+#include "xm-lynx.h"