* config/i386/{i386lynx.mh i386lynx.mt nm-i386lynx.h tm-i386lynx.h
xm-i386lynx.h}: New configuration for Lynx.
This commit is contained in:
parent
a3f49a6652
commit
8e481e13e2
7
gdb/config/i386/i386lynx.mh
Normal file
7
gdb/config/i386/i386lynx.mh
Normal file
@ -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
|
3
gdb/config/i386/i386lynx.mt
Normal file
3
gdb/config/i386/i386lynx.mt
Normal file
@ -0,0 +1,3 @@
|
||||
# Target: Intel 386 running Lynx
|
||||
TDEPFILES= i386-tdep.o i386-pinsn.o
|
||||
TM_FILE= tm-i386lynx.h
|
33
gdb/config/i386/nm-i386lynx.h
Normal file
33
gdb/config/i386/nm-i386lynx.h
Normal file
@ -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*
|
24
gdb/config/i386/tm-i386lynx.h
Normal file
24
gdb/config/i386/tm-i386lynx.h
Normal file
@ -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"
|
33
gdb/config/i386/xm-i386lynx.h
Normal file
33
gdb/config/i386/xm-i386lynx.h
Normal file
@ -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 <limits.h> /* for INT_MIN, to avoid "INT_MIN
|
||||
redefined" warnings from defs.h */
|
||||
|
||||
/* 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
|
Loading…
Reference in New Issue
Block a user