From 8e481e13e2c1bdb45ea0cb7e0bf83dc55902e6a9 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Mon, 24 May 1993 20:58:41 +0000 Subject: [PATCH] * config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h xm-i386lynx.h}: New configuration for Lynx. --- gdb/config/i386/i386lynx.mh | 7 +++++++ gdb/config/i386/i386lynx.mt | 3 +++ gdb/config/i386/nm-i386lynx.h | 33 +++++++++++++++++++++++++++++++++ gdb/config/i386/tm-i386lynx.h | 24 ++++++++++++++++++++++++ gdb/config/i386/xm-i386lynx.h | 33 +++++++++++++++++++++++++++++++++ 5 files changed, 100 insertions(+) create mode 100644 gdb/config/i386/i386lynx.mh create mode 100644 gdb/config/i386/i386lynx.mt create mode 100644 gdb/config/i386/nm-i386lynx.h create mode 100644 gdb/config/i386/tm-i386lynx.h create mode 100644 gdb/config/i386/xm-i386lynx.h diff --git a/gdb/config/i386/i386lynx.mh b/gdb/config/i386/i386lynx.mh new file mode 100644 index 0000000000..a9cf20cab4 --- /dev/null +++ b/gdb/config/i386/i386lynx.mh @@ -0,0 +1,7 @@ +# Host: Intel 386 running Lynx +XDEPFILES= +NATDEPFILES= exec.o fork-child.o infptrace.o inftarg.o corelow.o coredep.o i386b-nat.o +XM_FILE= xm-i386lynx.h +NAT_FILE= nm-i386lynx.h +REGEX=regex.o +REGEX1=regex.o diff --git a/gdb/config/i386/i386lynx.mt b/gdb/config/i386/i386lynx.mt new file mode 100644 index 0000000000..0af5657a2e --- /dev/null +++ b/gdb/config/i386/i386lynx.mt @@ -0,0 +1,3 @@ +# Target: Intel 386 running Lynx +TDEPFILES= i386-tdep.o i386-pinsn.o +TM_FILE= tm-i386lynx.h diff --git a/gdb/config/i386/nm-i386lynx.h b/gdb/config/i386/nm-i386lynx.h new file mode 100644 index 0000000000..2b9c33a331 --- /dev/null +++ b/gdb/config/i386/nm-i386lynx.h @@ -0,0 +1,33 @@ +/* Native-dependent definitions for Intel 386 running BSD Unix, for GDB. + Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc. + +This file is part of GDB. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* 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 + +#undef FLOAT_INFO /* No float info yet */ + +#define REGISTER_U_ADDR(addr, blockend, regno) \ + (addr) = i386_register_u_addr ((blockend),(regno)); + +extern int +i386_register_u_addr PARAMS ((int, int)); + +#define PTRACE_ARG3_TYPE char* diff --git a/gdb/config/i386/tm-i386lynx.h b/gdb/config/i386/tm-i386lynx.h new file mode 100644 index 0000000000..934042220b --- /dev/null +++ b/gdb/config/i386/tm-i386lynx.h @@ -0,0 +1,24 @@ +/* Macro definitions for i386 running under BSD Unix. + Copyright 1986, 1987, 1989, 1991, 1992, 1993 Free Software Foundation, Inc. + +This file is part of GDB. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +/* Override number of expected traps from sysv. */ +#define START_INFERIOR_TRAPS_EXPECTED 2 + +/* Most definitions from sysv could be used. */ +#include "i386/tm-i386v.h" diff --git a/gdb/config/i386/xm-i386lynx.h b/gdb/config/i386/xm-i386lynx.h new file mode 100644 index 0000000000..f0c1198049 --- /dev/null +++ b/gdb/config/i386/xm-i386lynx.h @@ -0,0 +1,33 @@ +/* Host-dependent definitions for Intel 386 running Lynx, for GDB. + Copyright 1986, 1987, 1989, 1992 Free Software Foundation, Inc. + +This file is part of GDB. + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#define HOST_BYTE_ORDER LITTLE_ENDIAN + +#include /* for INT_MIN, to avoid "INT_MIN + redefined" warnings from defs.h */ + +/* psignal() is in . */ + +#define PSIGNAL_IN_SIGNAL_H + +/* Get rid of any system-imposed stack limit if possible. */ + +#define SET_STACK_LIMIT_HUGE + +#define MEM_FNS_DECLARED