forked from Imagelibrary/binutils-gdb
* Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o)
(remote-st.o, uw-thread.o): Delete. (HFILES_NO_SRCDIR, ALLDEPFILES): Update. * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and rs6000-*-lynxos* to an obsoletion stanza. * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, and rs6000-*-lynxos* to an obsoletion stanza. Do not mention i[34567]86-*-netware*. * NEWS: Mention deleted targets. * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, config/i386/i386v4.mh, config/i386/i386v42mp.mh, config/i386/ncr3000.mh, config/i386/ncr3000.mt, config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, config/rs6000/tm-rs6000ly.h: Delete files.
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
# Host: Intel 386 running SCO Unix (pre-SVR4)
|
||||
|
||||
NAT_FILE= nm-i386sco.h
|
||||
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o i386v-nat.o
|
||||
@@ -1,4 +0,0 @@
|
||||
# Host: Intel 386 running SCO Unix 3.2v4
|
||||
|
||||
NAT_FILE= nm-i386sco4.h
|
||||
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o i386v-nat.o
|
||||
@@ -1,7 +0,0 @@
|
||||
# Host: Intel 386 running SCO OpenServer 5
|
||||
# Much like 3.2v4, except we don't have to avoid problems with const
|
||||
|
||||
NAT_FILE= nm-i386sco5.h
|
||||
NATDEPFILES= infptrace.o inftarg.o fork-child.o corefile.o core-aout.o \
|
||||
corelow.o i386v-nat.o solib.o solib-svr4.o solib-legacy.o
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
# Host: Intel 386 running System V
|
||||
|
||||
NAT_FILE= nm-i386v.h
|
||||
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o i386v-nat.o
|
||||
@@ -1,6 +0,0 @@
|
||||
# Host: Intel 386 running SVR4
|
||||
|
||||
NAT_FILE= nm-i386v4.h
|
||||
NATDEPFILES= corelow.o core-regset.o fork-child.o i386v4-nat.o \
|
||||
solib.o solib-svr4.o solib-legacy.o \
|
||||
procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o
|
||||
@@ -1,16 +0,0 @@
|
||||
# Host: Intel 386 running SVR4
|
||||
|
||||
# we don't want nm-i386v4.h since that defines LOSING_POLL which isn't
|
||||
# appropriate for i386v42mp
|
||||
NAT_FILE= nm-i386v42mp.h
|
||||
|
||||
# NATDEPFILES must remain entirely on one line. When building a cross
|
||||
# debugger, configure will cause this line to be commented out in the
|
||||
# Makefile. Many non-GNU versions of make don't permit the use of a
|
||||
# continuation character (backslash) to extend a commented line. As a
|
||||
# consequence, make considers subsequent tab-indented lines to be
|
||||
# some sort of error.
|
||||
NATDEPFILES= corelow.o core-regset.o fork-child.o i386v4-nat.o \
|
||||
gcore.o solib.o solib-svr4.o solib-legacy.o procfs.o proc-api.o \
|
||||
proc-events.o proc-flags.o proc-why.o uw-thread.o
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# Host: NCR 3000 (Intel 386 running SVR4)
|
||||
|
||||
NAT_FILE= nm-i386v4.h
|
||||
NATDEPFILES= corelow.o core-regset.o fork-child.o i386v4-nat.o procfs.o \
|
||||
proc-api.o proc-events.o proc-flags.o proc-why.o
|
||||
@@ -1,2 +0,0 @@
|
||||
# Target: Intel 386 running SVR4
|
||||
TDEPFILES= i386-tdep.o i387-tdep.o solib.o solib-svr4.o solib-legacy.o
|
||||
@@ -1,33 +0,0 @@
|
||||
/* Native support for i386.
|
||||
Copyright 1986, 1987, 1989, 1992, 1994, 1998, 2000, 2007
|
||||
Free Software Foundation, Inc.
|
||||
Changes for 80386 by Pace Willisson (pace@prep.ai.mit.edu), July 1988.
|
||||
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifndef NM_I386SCO_H
|
||||
#define NM_I386SCO_H
|
||||
|
||||
#include "i386/nm-i386v.h"
|
||||
|
||||
/* When calling functions on SCO, sometimes we get an error writing some
|
||||
of the segment registers. This would appear to be a kernel
|
||||
bug/non-feature. */
|
||||
#define CANNOT_STORE_REGISTER(regno) ((regno) == 14 || (regno) == 15)
|
||||
|
||||
#endif /* nm-i386sco.h */
|
||||
@@ -1,31 +0,0 @@
|
||||
/* Native support for SCO 3.2v4.
|
||||
Copyright 1993, 2007 Free Software Foundation, Inc.
|
||||
Contributed by Cygnus Support. By Ian Lance Taylor
|
||||
<ian@cygnus.com> based on work by Martin Walker <maw@netcom.com>.
|
||||
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* SCO 3.2v4 is actually just like SCO 3.2v2, except that it
|
||||
additionally supports attaching to a process. */
|
||||
|
||||
#include "i386/nm-i386sco.h"
|
||||
|
||||
/* SCO, in its wisdom, does not provide <sys/ptrace.h>. infptrace.c
|
||||
does not have defaults for these values. */
|
||||
#define PTRACE_ATTACH 10
|
||||
#define PTRACE_DETACH 11
|
||||
@@ -1,71 +0,0 @@
|
||||
/* Native support for SCO OpenServer 5.
|
||||
Copyright 1996, 1998, 2002, 2007 Free Software Foundation, Inc.
|
||||
Re-written by J. Kean Johnston <jkj@sco.com>.
|
||||
Originally written by Robert Lipe <robertl@dgii.com>, based on
|
||||
work by Ian Lance Taylor <ian@cygnus.com> and
|
||||
Martin Walker <maw@netcom.com>.
|
||||
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifndef NM_I386SCO5_H
|
||||
#define NM_I386SCO5_H
|
||||
|
||||
/* Basically, its a lot like the older versions ... */
|
||||
#include "i386/nm-i386sco.h"
|
||||
|
||||
/* SCO is unlike other SVR4 systems in that it has SVR4 style shared
|
||||
libs, with a slight twist. We expect 3 traps (2 for the exec and
|
||||
one for the dynamic loader). After the third trap we insert the
|
||||
shared library breakpoints, then wait for the 4th trap. */
|
||||
|
||||
#undef START_INFERIOR_TRAPS_EXPECTED
|
||||
#define START_INFERIOR_TRAPS_EXPECTED 3
|
||||
|
||||
/* SCO does not provide <sys/ptrace.h>. However, infptrace.c does not
|
||||
have defaults for these values. */
|
||||
|
||||
#define PTRACE_ATTACH 10
|
||||
#define PTRACE_DETACH 11
|
||||
|
||||
/* Return the size of the user struct. */
|
||||
|
||||
#define KERNEL_U_SIZE kernel_u_size ()
|
||||
extern int kernel_u_size (void);
|
||||
|
||||
/* Hardware-assisted breakpoints and watchpoints. */
|
||||
|
||||
/* We can also do hardware watchpoints. */
|
||||
#define TARGET_HAS_HARDWARE_WATCHPOINTS
|
||||
#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) 1
|
||||
|
||||
/* After a watchpoint trap, the PC points to the instruction which
|
||||
caused the trap. But we can continue over it without disabling the
|
||||
trap. */
|
||||
#define HAVE_CONTINUABLE_WATCHPOINT 1
|
||||
#define HAVE_STEPPABLE_WATCHPOINT
|
||||
|
||||
#define STOPPED_BY_WATCHPOINT(W) \
|
||||
i386_stopped_by_watchpoint (PIDGET (inferior_ptid))
|
||||
|
||||
#define target_insert_watchpoint(addr, len, type) \
|
||||
i386_insert_watchpoint (PIDGET (inferior_ptid), addr, len, type)
|
||||
|
||||
#define target_remove_watchpoint(addr, len, type) \
|
||||
i386_remove_watchpoint (PIDGET (inferior_ptid), addr, len)
|
||||
|
||||
#endif /* nm-i386sco5.h */
|
||||
@@ -1,47 +0,0 @@
|
||||
/* Native support for i386 running System V (pre-SVR4).
|
||||
|
||||
Copyright 1986, 1987, 1989, 1992, 1993, 1998, 2000, 2002, 2007
|
||||
Free Software Foundation, Inc.
|
||||
Changes for 80386 by Pace Willisson (pace@prep.ai.mit.edu), July 1988.
|
||||
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifndef NM_I386V_H
|
||||
#define NM_I386V_H
|
||||
|
||||
/* Support for the user struct. */
|
||||
|
||||
/* This is the amount to subtract from u.u_ar0
|
||||
to get the offset in the core file of the register values. */
|
||||
|
||||
#define REGISTER_U_ADDR(addr, blockend, regnum) \
|
||||
(addr) = register_u_addr ((blockend), (regnum))
|
||||
extern CORE_ADDR register_u_addr (CORE_ADDR blockend, int regnum);
|
||||
|
||||
/* 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 0xe0000000
|
||||
|
||||
/* Number of traps that happen between exec'ing the shell to run an
|
||||
inferior, and when we finally get to the inferior code. This is 2
|
||||
on most implementations. Override here to 4. */
|
||||
|
||||
#undef START_INFERIOR_TRAPS_EXPECTED
|
||||
#define START_INFERIOR_TRAPS_EXPECTED 4
|
||||
|
||||
#endif /* nm-i386v.h */
|
||||
@@ -1,29 +0,0 @@
|
||||
/* Native support for i386 running SVR4.
|
||||
Copyright 1986, 1987, 1989, 1992, 1993, 1996, 2007
|
||||
Free Software Foundation, Inc.
|
||||
Changes for 80386 by Pace Willisson (pace@prep.ai.mit.edu), July 1988.
|
||||
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* SVR4 has /proc support, so use it instead of ptrace. */
|
||||
|
||||
#define USE_PROC_FS
|
||||
|
||||
/* 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 0xe0000000
|
||||
@@ -1,98 +0,0 @@
|
||||
/* Native support for i386 running SVR4.
|
||||
Copyright 1986, 1987, 1989, 1992, 1996, 1997, 1998, 2007
|
||||
Free Software Foundation, Inc.
|
||||
Changes for 80386 by Pace Willisson (pace@prep.ai.mit.edu), July 1988.
|
||||
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifndef NM_I386V42MP_H
|
||||
#define NM_I386V42MP_H
|
||||
|
||||
/* SVR4 has /proc support, so use it instead of ptrace. */
|
||||
|
||||
#define USE_PROC_FS
|
||||
|
||||
/* define to select for other sysv4.2mp weirdness (see procfs.c) */
|
||||
|
||||
#define UNIXWARE
|
||||
|
||||
#if 0
|
||||
/* The following macros extract process and lwp/thread ids from a
|
||||
composite id.
|
||||
|
||||
For consistency with UnixWare core files, allocate bits 0-15 for
|
||||
process ids and bits 16 and up for lwp ids. Reserve bit 31 for
|
||||
negative return values to indicate exceptions, and use bit 30 as a
|
||||
flag to indicate a user-mode thread, leaving 14 bits for lwp
|
||||
ids. */
|
||||
|
||||
/* Number of bits in composite id allocated to process number. */
|
||||
#define PIDBITS 16
|
||||
|
||||
/* Return the process id stored in composite PID. */
|
||||
#define PIDGET(PID) (((PID) & ((1 << PIDBITS) - 1)))
|
||||
|
||||
/* Return the thread or lwp id stored in composite PID. */
|
||||
#define TIDGET(PID) (((PID) & 0x3fffffff) >> PIDBITS)
|
||||
#define LIDGET(PID) TIDGET(PID)
|
||||
|
||||
/* Construct a composite id from lwp LID and the process portion of
|
||||
composite PID. */
|
||||
#define MERGEPID(PID, LID) (PIDGET(PID) | ((LID) << PIDBITS))
|
||||
#define MKLID(PID, LID) MERGEPID(PID, LID)
|
||||
|
||||
/* Construct a composite id from thread TID and the process portion of
|
||||
composite PID. */
|
||||
#define MKTID(PID, TID) (MERGEPID(PID, TID) | 0x40000000)
|
||||
|
||||
/* Return whether PID contains a user-space thread id. */
|
||||
#define ISTID(PID) ((PID) & 0x40000000)
|
||||
#endif
|
||||
|
||||
/* New definitions of the ptid stuff. Due to the way the
|
||||
code is structured in uw-thread.c, I'm overloading the thread id
|
||||
and lwp id onto the lwp field. The tid field is used to indicate
|
||||
whether the lwp is a tid or not.
|
||||
|
||||
FIXME: Check that core file support is not broken. (See original
|
||||
#if 0'd comments above.)
|
||||
FIXME: Restructure uw-thread.c so that the struct ptid fields
|
||||
can be used as intended. */
|
||||
|
||||
/* Return the process id stored in composite PID. */
|
||||
#define PIDGET(PID) (ptid_get_pid (PID))
|
||||
|
||||
/* Return the thread or lwp id stored in composite PID. */
|
||||
#define TIDGET(PID) (ptid_get_lwp (PID))
|
||||
#define LIDGET(PID) TIDGET(PID)
|
||||
|
||||
#define MERGEPID(PID, LID) (ptid_build ((PID), (LID), 0))
|
||||
#define MKLID(PID, LID) (ptid_build ((PID), (LID), 0))
|
||||
|
||||
/* Construct a composite id from thread TID and the process portion of
|
||||
composite PID. */
|
||||
#define MKTID(PID, TID) (ptid_build ((PID), (TID), 1))
|
||||
|
||||
/* Return whether PID contains a user-space thread id. */
|
||||
#define ISTID(PID) (ptid_get_tid (PID))
|
||||
|
||||
/* 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 0xe0000000
|
||||
|
||||
#endif /* NM_I386V42MP_H */
|
||||
@@ -1,3 +0,0 @@
|
||||
# Target: Cisco Router with 68K processor
|
||||
TDEPFILES= m68k-tdep.o corelow.o core-aout.o
|
||||
DEPRECATED_TM_FILE= tm-cisco.h
|
||||
@@ -1,3 +0,0 @@
|
||||
# Target: os68k running on a 68000
|
||||
TDEPFILES= m68k-tdep.o
|
||||
DEPRECATED_TM_FILE= tm-os68k.h
|
||||
@@ -1,2 +0,0 @@
|
||||
# Target: Tandem ST-2000 phone switch
|
||||
TDEPFILES= m68k-tdep.o remote-st.o
|
||||
@@ -1,46 +0,0 @@
|
||||
/* Parameters for CISCO m68k.
|
||||
Copyright 1994, 1996, 2000, 2007 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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#define GDBINIT_FILENAME ".cisco-gdbinit" /* Init file */
|
||||
|
||||
#define DEFAULT_PROMPT "(cisco-68k-gdb) " /* Default prompt */
|
||||
|
||||
/* Offsets (in target ints) into jmp_buf. Defined in /csc/sys/sun/asm.S. */
|
||||
|
||||
#define JB_ELEMENT_SIZE 4
|
||||
|
||||
#define JB_PC 0
|
||||
#define JB_D2 1
|
||||
#define JB_D3 2
|
||||
#define JB_D4 3
|
||||
#define JB_D5 4
|
||||
#define JB_D6 5
|
||||
#define JB_D7 6
|
||||
#define JB_A2 7
|
||||
#define JB_A3 8
|
||||
#define JB_A4 9
|
||||
#define JB_A5 10
|
||||
#define JB_A6 11
|
||||
#define JB_SP 12
|
||||
|
||||
/* BFD handles finding the registers in the core file, so they are at
|
||||
the start of the BFD .reg section. */
|
||||
#define REGISTER_U_ADDR(addr,blockend,regno) (addr = DEPRECATED_REGISTER_BYTE (regno))
|
||||
#define KERNEL_U_ADDR 0
|
||||
@@ -1,38 +0,0 @@
|
||||
/* Parameters for execution on os68k's, for GDB, the GNU debugger.
|
||||
Copyright 1986, 1987, 1989, 1991, 1998, 2003, 2007
|
||||
Free Software Foundation, Inc.
|
||||
Contributed by Cygnus Support.
|
||||
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#define GDBINIT_FILENAME ".os68gdbinit"
|
||||
|
||||
#define DEFAULT_PROMPT "(os68k) "
|
||||
|
||||
/* We have more complex, useful breakpoints on the target. */
|
||||
#undef DECR_PC_AFTER_BREAK
|
||||
#define DECR_PC_AFTER_BREAK 0
|
||||
|
||||
/* Takes the current frame-struct pointer and returns the chain-pointer
|
||||
to get to the calling frame.
|
||||
|
||||
If our current frame pointer is zero, we're at the top; else read out
|
||||
the saved FP from memory pointed to by the current FP. */
|
||||
|
||||
#undef DEPRECATED_FRAME_CHAIN
|
||||
#define DEPRECATED_FRAME_CHAIN(thisframe) ((thisframe)->frame? read_memory_integer ((thisframe)->frame, 4): 0)
|
||||
@@ -1,92 +0,0 @@
|
||||
/* Native-dependent definitions for LynxOS.
|
||||
|
||||
Copyright 1993, 1994, 1995, 1996, 1999, 2000, 2003, 2007
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifndef NM_LYNX_H
|
||||
#define NM_LYNX_H
|
||||
|
||||
struct target_waitstatus;
|
||||
|
||||
#include <sys/conf.h>
|
||||
#include <sys/kernel.h>
|
||||
/* sys/kernel.h should define this, but doesn't always, sigh. */
|
||||
#ifndef __LYNXOS
|
||||
#define __LYNXOS
|
||||
#endif
|
||||
#include <sys/mem.h>
|
||||
#include <sys/signal.h>
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <sys/itimer.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/proc.h>
|
||||
#include "gdbthread.h"
|
||||
|
||||
/* Lynx's signal.h doesn't seem to have any macros for what signal numbers
|
||||
the real-time events are. */
|
||||
#define REALTIME_LO 33
|
||||
/* One more than the last one. */
|
||||
#define REALTIME_HI 64
|
||||
|
||||
/* 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
|
||||
|
||||
/* As of LynxOS 2.2.2 (beta 8/15/94), this is int. Previous versions seem to
|
||||
have had no prototype, so I'm not sure why GDB used to define this to
|
||||
char *. */
|
||||
#define PTRACE_ARG3_TYPE int
|
||||
|
||||
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
|
||||
|
||||
#define FETCH_INFERIOR_REGISTERS
|
||||
|
||||
/* Thread ID of stopped thread. */
|
||||
|
||||
#define WIFTID(x) (((union wait *)&x)->w_tid)
|
||||
|
||||
/* Override child_wait in inftarg.c */
|
||||
|
||||
#define CHILD_WAIT
|
||||
|
||||
/* Override child_resume in infptrace.c */
|
||||
|
||||
#define DEPRECATED_CHILD_RESUME
|
||||
|
||||
/* Override child_thread_alive in intarg.c */
|
||||
|
||||
#define CHILD_THREAD_ALIVE
|
||||
|
||||
#include "target.h"
|
||||
|
||||
extern ptid_t child_wait (ptid_t ptid,
|
||||
struct target_waitstatus *status);
|
||||
|
||||
/* Lynx needs a special definition of this so that we can
|
||||
print out the pid and thread number seperately. */
|
||||
|
||||
|
||||
/* override child_pid_to_str in inftarg.c */
|
||||
#define CHILD_PID_TO_STR
|
||||
extern char *lynx_pid_to_str (ptid_t ptid);
|
||||
|
||||
#endif /* NM_LYNX_H */
|
||||
@@ -1,6 +0,0 @@
|
||||
# Host: RS6000 running LynxOS
|
||||
|
||||
XM_CLIBS= -lbsd
|
||||
|
||||
NAT_FILE= config/nm-lynx.h
|
||||
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o xcoffread.o
|
||||
@@ -1,3 +0,0 @@
|
||||
# Target: IBM RS6000 running LynxOS
|
||||
TDEPFILES= coff-solib.o xcoffread.o rs6000-tdep.o ppc-sysv-tdep.o solib.o solib-svr4.o
|
||||
DEPRECATED_TM_FILE= tm-rs6000ly.h
|
||||
@@ -1,31 +0,0 @@
|
||||
/* Macro definitions for RS6000 running under LynxOS.
|
||||
Copyright 1993, 2000, 2007 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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
#ifndef TM_RS6000LYNX_H
|
||||
#define TM_RS6000LYNX_H
|
||||
|
||||
#include "coff-solib.h" /* COFF shared library support */
|
||||
|
||||
/* Use generic RS6000 definitions. */
|
||||
#include "rs6000/tm-rs6000.h"
|
||||
|
||||
#define CANNOT_STORE_REGISTER(regno) (regno == PS_REGNUM)
|
||||
|
||||
#endif /* TM_RS6000LYNX_H */
|
||||
Reference in New Issue
Block a user