From 5aa5d4b987c9ce44e87262815317c01fc315cdf9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 5 Feb 2003 15:31:56 +0000 Subject: 2003-02-05 Andrew Cagney 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. --- gdb/config/m68k/nm-apollo68b.h | 40 ------------------- gdb/config/m68k/nm-hp300bsd.h | 90 ------------------------------------------ gdb/config/m68k/tm-apollo68b.h | 59 --------------------------- gdb/config/m68k/tm-es1800.h | 60 ---------------------------- gdb/config/m68k/tm-hp300bsd.h | 64 ------------------------------ gdb/config/m68k/tm-mac.h | 21 ---------- gdb/config/m68k/xm-apollo68b.h | 21 ---------- 7 files changed, 355 deletions(-) delete mode 100644 gdb/config/m68k/nm-apollo68b.h delete mode 100644 gdb/config/m68k/nm-hp300bsd.h delete mode 100644 gdb/config/m68k/tm-apollo68b.h delete mode 100644 gdb/config/m68k/tm-es1800.h delete mode 100644 gdb/config/m68k/tm-hp300bsd.h delete mode 100644 gdb/config/m68k/tm-mac.h delete mode 100644 gdb/config/m68k/xm-apollo68b.h (limited to 'gdb/config/m68k') diff --git a/gdb/config/m68k/nm-apollo68b.h b/gdb/config/m68k/nm-apollo68b.h deleted file mode 100644 index 75731a7..0000000 --- a/gdb/config/m68k/nm-apollo68b.h +++ /dev/null @@ -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 diff --git a/gdb/config/m68k/nm-hp300bsd.h b/gdb/config/m68k/nm-hp300bsd.h deleted file mode 100644 index e0f7a11..0000000 --- a/gdb/config/m68k/nm-hp300bsd.h +++ /dev/null @@ -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 -#include -#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; \ -} diff --git a/gdb/config/m68k/tm-apollo68b.h b/gdb/config/m68k/tm-apollo68b.h deleted file mode 100644 index f0b7488..0000000 --- a/gdb/config/m68k/tm-apollo68b.h +++ /dev/null @@ -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, "") == 0) diff --git a/gdb/config/m68k/tm-es1800.h b/gdb/config/m68k/tm-es1800.h deleted file mode 100644 index 46e4a64..0000000 --- a/gdb/config/m68k/tm-es1800.h +++ /dev/null @@ -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 ! */ - -#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) diff --git a/gdb/config/m68k/tm-hp300bsd.h b/gdb/config/m68k/tm-hp300bsd.h deleted file mode 100644 index 0a03387..0000000 --- a/gdb/config/m68k/tm-hp300bsd.h +++ /dev/null @@ -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" diff --git a/gdb/config/m68k/tm-mac.h b/gdb/config/m68k/tm-mac.h deleted file mode 100644 index 270f353..0000000 --- a/gdb/config/m68k/tm-mac.h +++ /dev/null @@ -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" diff --git a/gdb/config/m68k/xm-apollo68b.h b/gdb/config/m68k/xm-apollo68b.h deleted file mode 100644 index d77509d..0000000 --- a/gdb/config/m68k/xm-apollo68b.h +++ /dev/null @@ -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 -- cgit v1.1