mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 06:43:36 +08:00
2003-02-05 Andrew Cagney <ac131313@redhat.com>
Remove orphaned hosts, targets and files. * config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete. * config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete. * config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete. * config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete. * config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete. * config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete. * config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete. * config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete. * config/sparc/tm-sp64sim.h: Delete. * configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-* hosts. * configure.tgt: Delete i[3456]86-*-sco3.2v4*, and mips*-dec-mach3* targets.
This commit is contained in:
parent
b68767c12c
commit
5aa5d4b987
@ -1,3 +1,20 @@
|
||||
2003-02-05 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
Remove orphaned hosts, targets and files.
|
||||
* config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
|
||||
* config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
|
||||
* config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
|
||||
* config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
|
||||
* config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
|
||||
* config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
|
||||
* config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
|
||||
* config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
|
||||
* config/sparc/tm-sp64sim.h: Delete.
|
||||
* configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
|
||||
hosts.
|
||||
* configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
|
||||
mips*-dec-mach3* targets.
|
||||
|
||||
2003-02-04 Michael Chastain <mec@shout.net>
|
||||
|
||||
* NEWS: Fix typo: sepcifying -> specifying.
|
||||
|
@ -1,3 +0,0 @@
|
||||
# Target: GDBSERVE.NLM running on a i386
|
||||
TDEPFILES= i386.o
|
||||
CPU_FILE= i386
|
@ -1,40 +0,0 @@
|
||||
/* Macro defintions for an Apollo m68k in BSD mode
|
||||
Copyright 1992, 1993, 1995, 1998 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 FETCH_INFERIOR_REGISTERS
|
||||
|
||||
/* Tell gdb that we can attach and detach other processes */
|
||||
#define ATTACH_DETACH
|
||||
|
||||
#define U_REGS_OFFSET 6
|
||||
|
||||
/* 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 0
|
||||
|
||||
#define REGISTER_U_ADDR(addr, blockend, regno) \
|
||||
(addr) = (6 + 4 * (regno))
|
||||
|
||||
/* Apollos don't really have a USER area,so trying to read it from the
|
||||
* process address space will fail. It does support a read from a faked
|
||||
* USER area using the "PEEKUSER" ptrace call.
|
||||
*/
|
||||
#define PT_READ_U 3
|
@ -1,90 +0,0 @@
|
||||
/* Parameters for Hewlett-Packard 9000/300 native support under bsd.
|
||||
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., 59 Temple Place - Suite 330,
|
||||
Boston, MA 02111-1307, USA. */
|
||||
|
||||
/* Detect whether this is 4.3 or 4.4. */
|
||||
|
||||
#include <errno.h>
|
||||
#include <sys/param.h>
|
||||
#ifdef BSD4_4
|
||||
|
||||
/* BSD 4.4 alpha or better */
|
||||
|
||||
/* We can attach to processes using ptrace. */
|
||||
|
||||
#define ATTACH_DETACH
|
||||
#define PTRACE_ATTACH 10
|
||||
#define PTRACE_DETACH 11
|
||||
|
||||
/* The third argument of ptrace is declared as this type. */
|
||||
|
||||
#define PTRACE_ARG3_TYPE caddr_t
|
||||
|
||||
/* U_REGS_OFFSET is the offset of the registers within the u area for
|
||||
ptrace purposes. */
|
||||
#define U_REGS_OFFSET \
|
||||
ptrace (PT_READ_U, PIDGET (inferior_ptid), \
|
||||
(PTRACE_ARG3_TYPE) \
|
||||
(offsetof (struct user, u_kproc.kp_proc.p_md.md_regs)), 0) \
|
||||
- USRSTACK
|
||||
|
||||
/* No user structure in 4.4, registers are relative to kernel stack
|
||||
which is fixed. */
|
||||
#define KERNEL_U_ADDR 0xFFF00000
|
||||
|
||||
/* FIXME: Is ONE_PROCESS_WRITETEXT still true now that the kernel has
|
||||
copy-on-write? It not, move it to the 4.3-specific section below
|
||||
(now it is in xm-hp300bsd.h). */
|
||||
|
||||
#else
|
||||
|
||||
/* This is BSD 4.3 or something like it. */
|
||||
|
||||
/* Get kernel u area address at run-time using BSD style nlist (). */
|
||||
#define KERNEL_U_ADDR_BSD
|
||||
|
||||
#endif
|
||||
|
||||
/* This was once broken for 4.4, but probably because we had the wrong
|
||||
KERNEL_U_ADDR. */
|
||||
|
||||
/* This is a piece of magic that is given a register number REGNO
|
||||
and as BLOCKEND the address in the system of the end of the user structure
|
||||
and stores in ADDR the address in the kernel or core dump
|
||||
of that register. */
|
||||
|
||||
#define REGISTER_U_ADDR(addr, blockend, regno) \
|
||||
{ \
|
||||
if (regno < PS_REGNUM) \
|
||||
addr = (int) &((struct frame *)(blockend))->f_regs[regno]; \
|
||||
else if (regno == PS_REGNUM) \
|
||||
addr = (int) &((struct frame *)(blockend))->f_stackadj; \
|
||||
else if (regno == PC_REGNUM) \
|
||||
addr = (int) &((struct frame *)(blockend))->f_pc; \
|
||||
else if (regno < FPC_REGNUM) \
|
||||
addr = (int) \
|
||||
&((struct user *)0)->u_pcb.pcb_fpregs.fpf_regs[((regno)-FP0_REGNUM)*3];\
|
||||
else if (regno == FPC_REGNUM) \
|
||||
addr = (int) &((struct user *)0)->u_pcb.pcb_fpregs.fpf_fpcr; \
|
||||
else if (regno == FPS_REGNUM) \
|
||||
addr = (int) &((struct user *)0)->u_pcb.pcb_fpregs.fpf_fpsr; \
|
||||
else \
|
||||
addr = (int) &((struct user *)0)->u_pcb.pcb_fpregs.fpf_fpiar; \
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
/* Parameters for execution on Apollo 68k running BSD.
|
||||
Copyright 1986, 1987, 1989, 1991, 1993, 1994, 1998, 2003
|
||||
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. */
|
||||
|
||||
/* Apollos use vector 0xb for the breakpoint vector */
|
||||
|
||||
#define BPT_VECTOR 0xb
|
||||
|
||||
#include "m68k/tm-m68k.h"
|
||||
|
||||
/* These are the jmp_buf registers I could guess. There are 13 registers
|
||||
* in the buffer. There are 8 data registers, 6 general address registers,
|
||||
* the Frame Pointer, the Stack Pointer, the PC and the SR in the chip. I would
|
||||
* guess that 12 is the SR, but we don't need that anyway. 0 and 1 have
|
||||
* me stumped. 4 appears to be a5 for some unknown reason. If you care
|
||||
* about this, disassemble setjmp to find out. But don't do it with gdb :)
|
||||
*/
|
||||
|
||||
#undef JB_SP
|
||||
#undef JB_FP
|
||||
#undef JB_PC
|
||||
#undef JB_D0
|
||||
#undef JB_D1
|
||||
#undef JB_D2
|
||||
#undef JB_D3
|
||||
#undef JB_D4
|
||||
#undef JB_D5
|
||||
|
||||
#define JB_SP 2
|
||||
#define JB_FP 3
|
||||
#define JB_PC 5
|
||||
#define JB_D0 6
|
||||
#define JB_D1 7
|
||||
#define JB_D2 8
|
||||
#define JB_D3 9
|
||||
#define JB_D4 10
|
||||
#define JB_D5 11
|
||||
|
||||
/* How to decide if we're in a shared library function. (Probably a wrong
|
||||
definintion inherited from the VxWorks config file). */
|
||||
#define IN_SOLIB_CALL_TRAMPOLINE(pc, name) (name && strcmp(name, "<end_of_program>") == 0)
|
@ -1,60 +0,0 @@
|
||||
/* Parameters for execution on ES-1800 emulator for 68000.
|
||||
The code was originally written by Johan Holmberg TT/SJ Ericsson Telecom
|
||||
AB and later modified by Johan Henriksson TT/SJ. It was adapted to GDB 4.0
|
||||
by Jan Norden TX/DK.
|
||||
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1996, 2000
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GDB.
|
||||
|
||||
GDB 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 1, or (at your option)
|
||||
any later version.
|
||||
|
||||
GDB 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 ".esgdbinit"
|
||||
|
||||
#define DEFAULT_PROMPT "(esgdb) "
|
||||
|
||||
#include "m68k/tm-m68k.h"
|
||||
|
||||
/* Longjmp stuff borrowed from sun3 configuration. Don't know if correct.
|
||||
FIXME. */
|
||||
/* Offsets (in target ints) into jmp_buf. Not defined by Sun, but at least
|
||||
documented in a comment in <machine/setjmp.h>! */
|
||||
|
||||
#define JB_ELEMENT_SIZE 4
|
||||
|
||||
#define JB_ONSSTACK 0
|
||||
#define JB_SIGMASK 1
|
||||
#define JB_SP 2
|
||||
#define JB_PC 3
|
||||
#define JB_PSL 4
|
||||
#define JB_D2 5
|
||||
#define JB_D3 6
|
||||
#define JB_D4 7
|
||||
#define JB_D5 8
|
||||
#define JB_D6 9
|
||||
#define JB_D7 10
|
||||
#define JB_A2 11
|
||||
#define JB_A3 12
|
||||
#define JB_A4 13
|
||||
#define JB_A5 14
|
||||
#define JB_A6 15
|
||||
|
||||
/* Figure out where the longjmp will land. Slurp the args out of the stack.
|
||||
We expect the first arg to be a pointer to the jmp_buf structure from which
|
||||
we extract the pc (JB_PC) that we will land at. The pc is copied into ADDR.
|
||||
This routine returns true on success */
|
||||
|
||||
#define GET_LONGJMP_TARGET(ADDR) m68k_get_longjmp_target(ADDR)
|
@ -1,64 +0,0 @@
|
||||
/* Parameters for target machine Hewlett-Packard 9000/300, running bsd.
|
||||
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1996
|
||||
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. */
|
||||
|
||||
/* Configuration file for HP9000/300 series machine running BSD,
|
||||
including Utah, Mt. Xinu or Berkeley variants. This is NOT for HP-UX.
|
||||
Problems to hpbsd-bugs@cs.utah.edu. */
|
||||
|
||||
/* GCC is the only compiler used on this OS. So get this right even if
|
||||
the code which detects gcc2_compiled. is still broken. */
|
||||
|
||||
#define BELIEVE_PCC_PROMOTION 1
|
||||
|
||||
/* Define BPT_VECTOR if it is different than the default.
|
||||
This is the vector number used by traps to indicate a breakpoint.
|
||||
|
||||
For hp300bsd the normal breakpoint vector is 0x2 (for debugging via
|
||||
ptrace); for remote kernel debugging the breakpoint vector is 0xf. */
|
||||
|
||||
#define BPT_VECTOR 0x2
|
||||
#define REMOTE_BPT_VECTOR 0xf
|
||||
|
||||
#define TARGET_NBPG 4096
|
||||
|
||||
/* For 4.4 this would be 2, but it is OK for us to detect an area a
|
||||
bit bigger than necessary. This way the same gdb binary can target
|
||||
either 4.3 or 4.4. */
|
||||
|
||||
#define TARGET_UPAGES 3
|
||||
|
||||
/* On the HP300, sigtramp is in the u area. Gak! User struct is not
|
||||
mapped to the same virtual address in user/kernel address space
|
||||
(hence STACK_END_ADDR as opposed to KERNEL_U_ADDR). This tests
|
||||
for the whole u area, since we don't necessarily have hp300bsd
|
||||
include files around. */
|
||||
|
||||
/* For 4.4, it is actually right 20 bytes *before* STACK_END_ADDR, so
|
||||
include that in the area we test for. */
|
||||
|
||||
#define SIGTRAMP_START(pc) (STACK_END_ADDR - 20)
|
||||
#define SIGTRAMP_END(pc) (STACK_END_ADDR + TARGET_UPAGES * TARGET_NBPG)
|
||||
|
||||
/* Address of end of stack space. */
|
||||
|
||||
#define STACK_END_ADDR 0xfff00000
|
||||
|
||||
#include "m68k/tm-m68k.h"
|
@ -1,21 +0,0 @@
|
||||
/* Target-dependent definitions for Mac running MacOS.
|
||||
Copyright 1994, 1995 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. */
|
||||
|
||||
#include "m68k/tm-m68k.h"
|
@ -1,21 +0,0 @@
|
||||
/* Macro definitions for an Apollo m68k in BSD mode
|
||||
Copyright 1992, 2001 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 ALIGN_STACK_ON_STARTUP
|
@ -1,3 +0,0 @@
|
||||
# Target: HP PA-RISC running hpux
|
||||
TDEPFILES= hppa-tdep.o remote-pa.o somsolib.o corelow.o
|
||||
TM_FILE= tm-hppah.h
|
@ -1,3 +0,0 @@
|
||||
# Target: HP PA-RISC running HPUX 11.00
|
||||
TDEPFILES= hppa-tdep.o remote-pa.o somsolib.o
|
||||
TM_FILE= tm-hppah.h
|
@ -1,3 +0,0 @@
|
||||
# Target: HP PA-RISC running HPUX 11.00
|
||||
TDEPFILES= hppa-tdep.o remote-pa.o
|
||||
TM_FILE= tm-hppah.h
|
@ -1,3 +0,0 @@
|
||||
# Target: GDBSERVE.NLM running on a Power-PC
|
||||
TDEPFILES= ppc.o
|
||||
CPU_FILE= ppc
|
@ -1,3 +0,0 @@
|
||||
# Target: PowerPC running eabi in little endian mode
|
||||
TDEPFILES= rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o ppc-bdm.o ocd.o ppc-sysv-tdep.o solib.o solib-svr4.o
|
||||
TM_FILE= tm-ppcle-eabi.h
|
@ -1,6 +0,0 @@
|
||||
# Target: PowerPC running eabi in little endian mode under the simulator
|
||||
TDEPFILES= rs6000-tdep.o monitor.o dsrec.o ppcbug-rom.o ppc-bdm.o ocd.o ppc-sysv-tdep.o solib.o solib-svr4.o
|
||||
TM_FILE= tm-ppcle-eabi.h
|
||||
|
||||
SIM_OBS = remote-sim.o
|
||||
SIM = ../sim/ppc/libsim.a
|
@ -1,26 +0,0 @@
|
||||
/* Macro definitions for Power PC running embedded ABI under the simulator.
|
||||
Copyright 1995 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_PPC_SIM_H
|
||||
#define TM_PPC_SIM_H
|
||||
|
||||
#include "powerpc/tm-ppc-eabi.h"
|
||||
|
||||
#endif /* TM_PPC_SIM_H */
|
@ -1,13 +0,0 @@
|
||||
# Target: SPARC64 (with simulator)
|
||||
# solib.o and procfs.o taken out for now. We don't have shared libraries yet,
|
||||
# and the elf version requires procfs.o but the a.out version doesn't.
|
||||
# Then again, having procfs.o in a target makefile fragment seems wrong.
|
||||
TDEPFILES = sparc-tdep.o
|
||||
TM_FILE= tm-sp64.h
|
||||
|
||||
# Need gcc for long long support.
|
||||
CC = gcc
|
||||
|
||||
MH_CFLAGS = -I${srcdir}/../sim/sp64
|
||||
SIM_OBS = remote-sim.o
|
||||
SIM = ../sim/sp64/libsim.a
|
@ -1,50 +0,0 @@
|
||||
/* Macro definitions for GDB with the SPARC64 Simulator.
|
||||
Copyright 1993, 2000 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. */
|
||||
|
||||
/* ??? This file is based on tm-spc-em.h. Our contents are probably bogus
|
||||
but it's a good start. */
|
||||
|
||||
#include "sparc/tm-sp64.h"
|
||||
#include "config/tm-sunos.h"
|
||||
|
||||
/* Offsets into jmp_buf. Not defined by Sun, but at least documented in a
|
||||
comment in <machine/setjmp.h>! */
|
||||
|
||||
#define JB_ELEMENT_SIZE 8 /* Size of each element in jmp_buf */
|
||||
|
||||
#define JB_ONSSTACK 0
|
||||
#define JB_SIGMASK 1
|
||||
#define JB_SP 2
|
||||
#define JB_PC 3
|
||||
#define JB_NPC 4
|
||||
#define JB_PSR 5
|
||||
#define JB_G1 6
|
||||
#define JB_O0 7
|
||||
#define JB_WBCNT 8
|
||||
|
||||
/* Figure out where the longjmp will land. We expect that we have just entered
|
||||
longjmp and haven't yet setup the stack frame, so the args are still in the
|
||||
output regs. %o0 (O0_REGNUM) points at the jmp_buf structure from which we
|
||||
extract the pc (JB_PC) that we will land at. The pc is copied into ADDR.
|
||||
This routine returns true on success */
|
||||
|
||||
extern int get_longjmp_target (CORE_ADDR *);
|
||||
|
||||
#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
|
@ -39,7 +39,6 @@ alpha*-*-netbsd*) gdb_host=nbsd ;;
|
||||
arm*-*-linux*) gdb_host=linux ;;
|
||||
arm*-*-netbsdelf*) gdb_host=nbsdelf ;;
|
||||
arm*-*-netbsd*) gdb_host=nbsdaout ;;
|
||||
arm*-*-*) gdb_host=arm ;;
|
||||
|
||||
hppa*-*-bsd*) gdb_host=hppabsd ;;
|
||||
hppa*-*-hiux*) gdb_host=hppahpux ;;
|
||||
@ -144,9 +143,6 @@ sparc64-*-linux*) gdb_host=linux ;;
|
||||
sparc64-*-netbsd*) gdb_host=nbsd64 ;;
|
||||
sparcv9-*-* | sparc64-*-*) gdb_host=sun4sol2 ;;
|
||||
|
||||
strongarm-*-*) gdb_host=arm ;;
|
||||
xscale-*-*) gdb_host=arm ;;
|
||||
|
||||
vax-*-bsd*) gdb_host=vaxbsd ;;
|
||||
vax-*-ultrix2*) gdb_host=vaxult2 ;;
|
||||
vax-*-ultrix*) gdb_host=vaxult ;;
|
||||
|
@ -95,7 +95,6 @@ i[3456]86-*-solaris*) gdb_target=i386sol2 ;;
|
||||
i[3456]86-*-sysv4.2*) gdb_target=i386v42mp ;;
|
||||
i[3456]86-*-sysv4*) gdb_target=i386v4 ;;
|
||||
i[3456]86-*-sysv5*) gdb_target=i386v42mp ;;
|
||||
i[3456]86-*-sco3.2v4*) gdb_target=i386sco4 ;;
|
||||
i[3456]86-*-sco3.2v5*) gdb_target=i386sco5 ;;
|
||||
i[3456]86-*-sco*) gdb_target=i386v ;;
|
||||
i[3456]86-*-sysv*) gdb_target=i386v ;;
|
||||
@ -146,7 +145,6 @@ m68*-*-vxworks*) gdb_target=vxworks68 ;;
|
||||
mcore*-*-*) gdb_target=mcore ;;
|
||||
mips64*-big-*) gdb_target=bigmips64 ;;
|
||||
mips*-big-*) gdb_target=bigmips ;;
|
||||
mips*-dec-mach3*) gdb_target=mach3 ;;
|
||||
mips*-dec-*) gdb_target=decstation ;;
|
||||
mips*-*-pe) gdb_target=wince ;;
|
||||
mips64*el-*-ecoff*) gdb_target=embedl64 ;;
|
||||
|
Loading…
Reference in New Issue
Block a user