2003-12-01 Andrew Cagney <cagney@redhat.com>

Obsolete old MIPS SVr3 and SVr4 systems.
	* NEWS: Mention obsoleted systems.
	* configure.tgt: Mark mips*-*-sysv4* as obsolete.
	* configure.host: Mark mips-dec-*, mips-little-*, mips-sony-*,
	mips-*-sysv4*, mips-*-sysv*, mips-*-riscos* and mips-*-mach3* as
	obsolete.
	* config/mips/decstation.mh: Mark as obsolete.
	* config/mips/littlemips.mh: Mark as obsolete.
	* config/mips/nm-mips.h: Mark as obsolete.
	* config/mips/xm-mips.h: Mark as obsolete.
	* config/mips/news-mips.mh: Mark as obsolete.
	* config/mips/nm-news-mips.h: Mark as obsolete.
	* config/mips/riscos.mh: Mark as obsolete.
	* config/mips/nm-riscos.h: Mark as obsolete.
	* config/mips/xm-riscos.h: Mark as obsolete.
	* config/mips/mipsv4.mt: Mark as obsolete.
	* config/mips/tm-mipsv4.h: Mark as obsolete.
	* config/mips/xm-mipsv4.h: Mark as obsolete.
This commit is contained in:
Andrew Cagney 2003-12-01 21:10:46 +00:00
parent 771e446b94
commit 0748d941c8
16 changed files with 340 additions and 317 deletions

View file

@ -1,5 +1,24 @@
2003-12-01 Andrew Cagney <cagney@redhat.com> 2003-12-01 Andrew Cagney <cagney@redhat.com>
Obsolete old MIPS SVr3 and SVr4 systems.
* NEWS: Mention obsoleted systems.
* configure.tgt: Mark mips*-*-sysv4* as obsolete.
* configure.host: Mark mips-dec-*, mips-little-*, mips-sony-*,
mips-*-sysv4*, mips-*-sysv*, mips-*-riscos* and mips-*-mach3* as
obsolete.
* config/mips/decstation.mh: Mark as obsolete.
* config/mips/littlemips.mh: Mark as obsolete.
* config/mips/nm-mips.h: Mark as obsolete.
* config/mips/xm-mips.h: Mark as obsolete.
* config/mips/news-mips.mh: Mark as obsolete.
* config/mips/nm-news-mips.h: Mark as obsolete.
* config/mips/riscos.mh: Mark as obsolete.
* config/mips/nm-riscos.h: Mark as obsolete.
* config/mips/xm-riscos.h: Mark as obsolete.
* config/mips/mipsv4.mt: Mark as obsolete.
* config/mips/tm-mipsv4.h: Mark as obsolete.
* config/mips/xm-mipsv4.h: Mark as obsolete.
Obsolete old m68k systems. Obsolete old m68k systems.
* configure.host: Mark m68*-sun-*, m68*-sun-sunos4*, * configure.host: Mark m68*-sun-*, m68*-sun-sunos4*,
m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*, m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*,

View file

@ -37,6 +37,10 @@ Sun 2, running SunOS 4 m68000-*-sunos4*
Motorola 680x0 running LynxOS m68*-*-lynxos* Motorola 680x0 running LynxOS m68*-*-lynxos*
AT&T 3b1/Unix pc m68*-att-* AT&T 3b1/Unix pc m68*-att-*
Bull DPX2 (68k, System V release 3) m68*-bull-sysv* Bull DPX2 (68k, System V release 3) m68*-bull-sysv*
decstation mips-dec-* mips-little-*
riscos mips-*-riscos* mips-*-sysv*
sonymips mips-sony-*
sysv mips*-*-sysv4* (IRIX 5/6 not included)
* REMOVED configurations and files * REMOVED configurations and files

View file

@ -1,4 +1,4 @@
# Host: Little-endian MIPS machine such as DECstation. # OBSOLETE # Host: Little-endian MIPS machine such as DECstation.
XM_FILE= xm-mips.h # OBSOLETE XM_FILE= xm-mips.h
NAT_FILE= nm-mips.h # OBSOLETE NAT_FILE= nm-mips.h
NATDEPFILES= infptrace.o inftarg.o corelow.o mips-nat.o fork-child.o # OBSOLETE NATDEPFILES= infptrace.o inftarg.o corelow.o mips-nat.o fork-child.o

View file

@ -1,3 +1,3 @@
# Host: Little-endian MIPS machine such as DECstation. # OBSOLETE # Host: Little-endian MIPS machine such as DECstation.
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o # OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o
XM_FILE= xm-mips.h # OBSOLETE XM_FILE= xm-mips.h

View file

@ -1,3 +1,3 @@
# Target: MIPS running SVR4 # OBSOLETE # Target: MIPS running SVR4
TDEPFILES= mips-tdep.o # OBSOLETE TDEPFILES= mips-tdep.o
TM_FILE= tm-mipsv4.h # OBSOLETE TM_FILE= tm-mipsv4.h

View file

@ -1,3 +1,3 @@
# Host: Big-endian MIPS machine such as Sony News # OBSOLETE # Host: Big-endian MIPS machine such as Sony News
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o mips-nat.o # OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o mips-nat.o
NAT_FILE= nm-news-mips.h # OBSOLETE NAT_FILE= nm-news-mips.h

View file

@ -1,34 +1,34 @@
/* Native definitions for GDB on DECstations, Sony News. and MIPS Riscos systems // OBSOLETE /* Native definitions for GDB on DECstations, Sony News. and MIPS Riscos systems
Copyright 1986, 1987, 1989, 1992, 1995, 1996, 2000 // OBSOLETE Copyright 1986, 1987, 1989, 1992, 1995, 1996, 2000
Free Software Foundation, Inc. // OBSOLETE Free Software Foundation, Inc.
Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin // OBSOLETE Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
and by Alessandro Forin(af@cs.cmu.edu) at CMU // OBSOLETE and by Alessandro Forin(af@cs.cmu.edu) at CMU
// OBSOLETE
This file is part of GDB. // OBSOLETE This file is part of GDB.
// OBSOLETE
This program is free software; you can redistribute it and/or modify // OBSOLETE 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 // OBSOLETE it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or // OBSOLETE the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. // OBSOLETE (at your option) any later version.
// OBSOLETE
This program is distributed in the hope that it will be useful, // OBSOLETE This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. // OBSOLETE GNU General Public License for more details.
// OBSOLETE
You should have received a copy of the GNU General Public License // OBSOLETE You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software // OBSOLETE along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ // OBSOLETE Boston, MA 02111-1307, USA. */
// OBSOLETE
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ // OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
#define FETCH_INFERIOR_REGISTERS // OBSOLETE #define FETCH_INFERIOR_REGISTERS
// OBSOLETE
/* Figure out where the longjmp will land. We expect that we have just entered // OBSOLETE /* 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 // OBSOLETE longjmp and haven't yet setup the stack frame, so the args are still in the
argument regs. a0 (CALL_ARG0) points at the jmp_buf structure from which we // OBSOLETE argument regs. a0 (CALL_ARG0) 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. // OBSOLETE extract the pc (JB_PC) that we will land at. The pc is copied into ADDR.
This routine returns true on success */ // OBSOLETE This routine returns true on success */
// OBSOLETE
#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) // OBSOLETE #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
extern int get_longjmp_target (CORE_ADDR *); // OBSOLETE extern int get_longjmp_target (CORE_ADDR *);

View file

@ -1,43 +1,43 @@
/* Definitions to make GDB run on a mips box under 4.3bsd. // OBSOLETE /* Definitions to make GDB run on a mips box under 4.3bsd.
Copyright 1986, 1987, 1989, 1993, 1996 Free Software Foundation, Inc. // OBSOLETE Copyright 1986, 1987, 1989, 1993, 1996 Free Software Foundation, Inc.
Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin // OBSOLETE Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
and by Alessandro Forin(af@cs.cmu.edu) at CMU // OBSOLETE and by Alessandro Forin(af@cs.cmu.edu) at CMU
// OBSOLETE
This file is part of GDB. // OBSOLETE This file is part of GDB.
// OBSOLETE
This program is free software; you can redistribute it and/or modify // OBSOLETE 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 // OBSOLETE it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or // OBSOLETE the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. // OBSOLETE (at your option) any later version.
// OBSOLETE
This program is distributed in the hope that it will be useful, // OBSOLETE This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. // OBSOLETE GNU General Public License for more details.
// OBSOLETE
You should have received a copy of the GNU General Public License // OBSOLETE You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software // OBSOLETE along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ // OBSOLETE Boston, MA 02111-1307, USA. */
// OBSOLETE
#ifndef NM_NEWS_MIPS_H // OBSOLETE #ifndef NM_NEWS_MIPS_H
#define NM_NEWS_MIPS_H 1 // OBSOLETE #define NM_NEWS_MIPS_H 1
// OBSOLETE
/* Needed for RISC NEWS core files. */ // OBSOLETE /* Needed for RISC NEWS core files. */
#include <machine/machparam.h> // OBSOLETE #include <machine/machparam.h>
#include <sys/types.h> // OBSOLETE #include <sys/types.h>
#define KERNEL_U_ADDR UADDR // OBSOLETE #define KERNEL_U_ADDR UADDR
// OBSOLETE
#define REGISTER_U_ADDR(addr, blockend, regno) \ // OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \
if (regno < 38) addr = (NBPG*UPAGES) + (regno - 38)*sizeof(int);\ // OBSOLETE if (regno < 38) addr = (NBPG*UPAGES) + (regno - 38)*sizeof(int);\
else addr = 0; /* ..somewhere in the pcb */ // OBSOLETE else addr = 0; /* ..somewhere in the pcb */
// OBSOLETE
/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */ // OBSOLETE /* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
#define ONE_PROCESS_WRITETEXT // OBSOLETE #define ONE_PROCESS_WRITETEXT
// OBSOLETE
#include "mips/nm-mips.h" // OBSOLETE #include "mips/nm-mips.h"
// OBSOLETE
/* Apparently not in <sys/types.h> */ // OBSOLETE /* Apparently not in <sys/types.h> */
typedef int pid_t; // OBSOLETE typedef int pid_t;
// OBSOLETE
#endif /* NM_NEWS_MIPS_H */ // OBSOLETE #endif /* NM_NEWS_MIPS_H */

View file

@ -1,60 +1,60 @@
/* This program is free software; you can redistribute it and/or modify // OBSOLETE /* 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 // OBSOLETE it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or // OBSOLETE the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. // OBSOLETE (at your option) any later version.
// OBSOLETE
This program is distributed in the hope that it will be useful, // OBSOLETE This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. // OBSOLETE GNU General Public License for more details.
// OBSOLETE
You should have received a copy of the GNU General Public License // OBSOLETE You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software // OBSOLETE along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ // OBSOLETE Boston, MA 02111-1307, USA. */
// OBSOLETE
/* MIPS running RISC/os 4.52C. */ // OBSOLETE /* MIPS running RISC/os 4.52C. */
// OBSOLETE
#define PCB_OFFSET(FIELD) ((int)&((struct user*)0)->u_pcb.FIELD) // OBSOLETE #define PCB_OFFSET(FIELD) ((int)&((struct user*)0)->u_pcb.FIELD)
// OBSOLETE
/* RISC/os 5.0 defines this in machparam.h. */ // OBSOLETE /* RISC/os 5.0 defines this in machparam.h. */
#include <bsd43/machine/machparam.h> // OBSOLETE #include <bsd43/machine/machparam.h>
#define NBPG BSD43_NBPG // OBSOLETE #define NBPG BSD43_NBPG
#define UPAGES BSD43_UPAGES // OBSOLETE #define UPAGES BSD43_UPAGES
// OBSOLETE
/* Where is this used? I don't see any uses in mips-nat.c, and I don't think // OBSOLETE /* Where is this used? I don't see any uses in mips-nat.c, and I don't think
the uses in infptrace.c are used if FETCH_INFERIOR_REGISTERS is defined. // OBSOLETE the uses in infptrace.c are used if FETCH_INFERIOR_REGISTERS is defined.
Does the compiler react badly to "extern CORE_ADDR kernel_u_addr" (even // OBSOLETE Does the compiler react badly to "extern CORE_ADDR kernel_u_addr" (even
if never referenced)? */ // OBSOLETE if never referenced)? */
#define KERNEL_U_ADDR BSD43_UADDR // OBSOLETE #define KERNEL_U_ADDR BSD43_UADDR
// OBSOLETE
#define REGISTER_U_ADDR(addr, blockend, regno) \ // OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \
if (regno < FP0_REGNUM) \ // OBSOLETE if (regno < FP0_REGNUM) \
addr = UPAGES*NBPG-EF_SIZE+4*((regno)+EF_AT-1); \ // OBSOLETE addr = UPAGES*NBPG-EF_SIZE+4*((regno)+EF_AT-1); \
else if (regno < PC_REGNUM) \ // OBSOLETE else if (regno < PC_REGNUM) \
addr = PCB_OFFSET(pcb_fpregs[0]) + 4*(regno-FP0_REGNUM); \ // OBSOLETE addr = PCB_OFFSET(pcb_fpregs[0]) + 4*(regno-FP0_REGNUM); \
else if (regno == PS_REGNUM) \ // OBSOLETE else if (regno == PS_REGNUM) \
addr = UPAGES*NBPG-EF_SIZE+4*EF_SR; \ // OBSOLETE addr = UPAGES*NBPG-EF_SIZE+4*EF_SR; \
else if (regno == mips_regnum (current_gdbarch)->badvaddr) \ // OBSOLETE else if (regno == mips_regnum (current_gdbarch)->badvaddr) \
addr = UPAGES*NBPG-EF_SIZE+4*EF_BADVADDR; \ // OBSOLETE addr = UPAGES*NBPG-EF_SIZE+4*EF_BADVADDR; \
else if (regno == mips_regnum (current_gdbarch)->lo) \ // OBSOLETE else if (regno == mips_regnum (current_gdbarch)->lo) \
addr = UPAGES*NBPG-EF_SIZE+4*EF_MDLO; \ // OBSOLETE addr = UPAGES*NBPG-EF_SIZE+4*EF_MDLO; \
else if (regno == mips_regnum (current_gdbarch)->hi) \ // OBSOLETE else if (regno == mips_regnum (current_gdbarch)->hi) \
addr = UPAGES*NBPG-EF_SIZE+4*EF_MDHI; \ // OBSOLETE addr = UPAGES*NBPG-EF_SIZE+4*EF_MDHI; \
else if (regno == mips_regnum (current_gdbarch)->cause) \ // OBSOLETE else if (regno == mips_regnum (current_gdbarch)->cause) \
addr = UPAGES*NBPG-EF_SIZE+4*EF_CAUSE; \ // OBSOLETE addr = UPAGES*NBPG-EF_SIZE+4*EF_CAUSE; \
else if (regno == mips_regnum (current_gdbarch)->pc) \ // OBSOLETE else if (regno == mips_regnum (current_gdbarch)->pc) \
addr = UPAGES*NBPG-EF_SIZE+4*EF_EPC; \ // OBSOLETE addr = UPAGES*NBPG-EF_SIZE+4*EF_EPC; \
else if (regno < mips_regnum (current_gdbarch)->fp_control_status) \ // OBSOLETE else if (regno < mips_regnum (current_gdbarch)->fp_control_status) \
addr = PCB_OFFSET(pcb_fpregs[0]) + 4*(regno-FP0_REGNUM); \ // OBSOLETE addr = PCB_OFFSET(pcb_fpregs[0]) + 4*(regno-FP0_REGNUM); \
else if (regno == mips_regnum (current_gdbarch)->fp_control_status) \ // OBSOLETE else if (regno == mips_regnum (current_gdbarch)->fp_control_status) \
addr = PCB_OFFSET(pcb_fpc_csr); \ // OBSOLETE addr = PCB_OFFSET(pcb_fpc_csr); \
else if (regno == mips_regnum (current_gdbarch)->fp_implementation_revision) \ // OBSOLETE else if (regno == mips_regnum (current_gdbarch)->fp_implementation_revision) \
addr = PCB_OFFSET(pcb_fpc_eir); \ // OBSOLETE addr = PCB_OFFSET(pcb_fpc_eir); \
else \ // OBSOLETE else \
addr = 0; // OBSOLETE addr = 0;
// OBSOLETE
#include "mips/nm-mips.h" // OBSOLETE #include "mips/nm-mips.h"
// OBSOLETE
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ // OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
#define FETCH_INFERIOR_REGISTERS // OBSOLETE #define FETCH_INFERIOR_REGISTERS

View file

@ -1,16 +1,16 @@
# Host: MIPS running RISC/os # OBSOLETE # Host: MIPS running RISC/os
# OBSOLETE
XM_FILE= xm-riscos.h # OBSOLETE XM_FILE= xm-riscos.h
# OBSOLETE
NAT_FILE= nm-riscos.h # OBSOLETE NAT_FILE= nm-riscos.h
NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o mips-nat.o # OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o mips-nat.o
# OBSOLETE
MH_CFLAGS=-Wf,-XNh10000 # OBSOLETE MH_CFLAGS=-Wf,-XNh10000
# OBSOLETE
# ptrace(2) apparently has problems in the BSD environment. No workaround is # OBSOLETE # ptrace(2) apparently has problems in the BSD environment. No workaround is
# known except to select the sysv environment. Could we use /proc instead? # OBSOLETE # known except to select the sysv environment. Could we use /proc instead?
# These "sysv environments" and "bsd environments" often end up being a pain. # OBSOLETE # These "sysv environments" and "bsd environments" often end up being a pain.
# # OBSOLETE #
# This is not part of CFLAGS because perhaps not all C compilers have this # OBSOLETE # This is not part of CFLAGS because perhaps not all C compilers have this
# option. # OBSOLETE # option.
CC= cc -systype sysv # OBSOLETE CC= cc -systype sysv

View file

@ -1,37 +1,37 @@
/* Target machine description for MIPS running SVR4, for GDB. // OBSOLETE /* Target machine description for MIPS running SVR4, for GDB.
Copyright 1994, 1995, 1998, 1999, 2000 Free Software Foundation, Inc. // OBSOLETE Copyright 1994, 1995, 1998, 1999, 2000 Free Software Foundation, Inc.
// OBSOLETE
This file is part of GDB. // OBSOLETE This file is part of GDB.
// OBSOLETE
This program is free software; you can redistribute it and/or modify // OBSOLETE 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 // OBSOLETE it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or // OBSOLETE the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. // OBSOLETE (at your option) any later version.
// OBSOLETE
This program is distributed in the hope that it will be useful, // OBSOLETE This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. // OBSOLETE GNU General Public License for more details.
// OBSOLETE
You should have received a copy of the GNU General Public License // OBSOLETE You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software // OBSOLETE along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ // OBSOLETE Boston, MA 02111-1307, USA. */
// OBSOLETE
#include "mips/tm-mips.h" // OBSOLETE #include "mips/tm-mips.h"
#include "config/tm-sysv4.h" // OBSOLETE #include "config/tm-sysv4.h"
// OBSOLETE
/* The signal handler trampoline is called _sigtramp. */ // OBSOLETE /* The signal handler trampoline is called _sigtramp. */
#undef IN_SIGTRAMP // OBSOLETE #undef IN_SIGTRAMP
#define IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name)) // OBSOLETE #define IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
// OBSOLETE
/* On entry to the signal handler trampoline, an ucontext is already // OBSOLETE /* On entry to the signal handler trampoline, an ucontext is already
pushed on the stack. We can get at the saved registers via the // OBSOLETE pushed on the stack. We can get at the saved registers via the
mcontext which is contained within the ucontext. */ // OBSOLETE mcontext which is contained within the ucontext. */
#define SIGFRAME_BASE 0 // OBSOLETE #define SIGFRAME_BASE 0
#define SIGFRAME_REGSAVE_OFF (SIGFRAME_BASE + 40) // OBSOLETE #define SIGFRAME_REGSAVE_OFF (SIGFRAME_BASE + 40)
#define SIGFRAME_PC_OFF (SIGFRAME_BASE + 40 + 35 * 4) // OBSOLETE #define SIGFRAME_PC_OFF (SIGFRAME_BASE + 40 + 35 * 4)
#define SIGFRAME_FPREGSAVE_OFF (SIGFRAME_BASE + 40 + 36 * 4) // OBSOLETE #define SIGFRAME_FPREGSAVE_OFF (SIGFRAME_BASE + 40 + 36 * 4)
// OBSOLETE
/* Convert a DWARF register number to a gdb REGNUM. */ // OBSOLETE /* Convert a DWARF register number to a gdb REGNUM. */
#define DWARF_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32) // OBSOLETE #define DWARF_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32)

View file

@ -1,59 +1,59 @@
/* Definitions to make GDB run on a mips box under 4.3bsd. // OBSOLETE /* Definitions to make GDB run on a mips box under 4.3bsd.
Copyright 1986, 1987, 1989, 1993, 1994, 1995, 1996, 1998 // OBSOLETE Copyright 1986, 1987, 1989, 1993, 1994, 1995, 1996, 1998
Free Software Foundation, Inc. // OBSOLETE Free Software Foundation, Inc.
Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin // OBSOLETE Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
and by Alessandro Forin(af@cs.cmu.edu) at CMU // OBSOLETE and by Alessandro Forin(af@cs.cmu.edu) at CMU
// OBSOLETE
This file is part of GDB. // OBSOLETE This file is part of GDB.
// OBSOLETE
This program is free software; you can redistribute it and/or modify // OBSOLETE 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 // OBSOLETE it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or // OBSOLETE the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. // OBSOLETE (at your option) any later version.
// OBSOLETE
This program is distributed in the hope that it will be useful, // OBSOLETE This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. // OBSOLETE GNU General Public License for more details.
// OBSOLETE
You should have received a copy of the GNU General Public License // OBSOLETE You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software // OBSOLETE along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ // OBSOLETE Boston, MA 02111-1307, USA. */
// OBSOLETE
#ifdef ultrix // OBSOLETE #ifdef ultrix
/* Needed for DECstation core files. */ // OBSOLETE /* Needed for DECstation core files. */
#include <machine/param.h> // OBSOLETE #include <machine/param.h>
#define KERNEL_U_ADDR UADDR // OBSOLETE #define KERNEL_U_ADDR UADDR
// OBSOLETE
/* Native Ultrix cc has broken long long support. */ // OBSOLETE /* Native Ultrix cc has broken long long support. */
#ifndef __GNUC__ // OBSOLETE #ifndef __GNUC__
#undef CC_HAS_LONG_LONG // OBSOLETE #undef CC_HAS_LONG_LONG
#endif // OBSOLETE #endif
#endif // OBSOLETE #endif
// OBSOLETE
#if ! defined (__GNUC__) && ! defined (offsetof) // OBSOLETE #if ! defined (__GNUC__) && ! defined (offsetof)
#define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) // OBSOLETE #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
#endif // OBSOLETE #endif
// OBSOLETE
/* Only used for core files on DECstations. // OBSOLETE /* Only used for core files on DECstations.
First four registers at u.u_ar0 are saved arguments, and // OBSOLETE First four registers at u.u_ar0 are saved arguments, and
there is no r0 saved. Float registers are saved // OBSOLETE there is no r0 saved. Float registers are saved
in u_pcb.pcb_fpregs, not relative to u.u_ar0. */ // OBSOLETE in u_pcb.pcb_fpregs, not relative to u.u_ar0. */
// OBSOLETE
#define REGISTER_U_ADDR(addr, blockend, regno) \ // OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \
{ \ // OBSOLETE { \
if (regno < FP0_REGNUM) \ // OBSOLETE if (regno < FP0_REGNUM) \
addr = blockend + sizeof(int) * (4 + regno - 1); \ // OBSOLETE addr = blockend + sizeof(int) * (4 + regno - 1); \
else \ // OBSOLETE else \
addr = offsetof (struct user, u_pcb.pcb_fpregs[0]) + \ // OBSOLETE addr = offsetof (struct user, u_pcb.pcb_fpregs[0]) + \
sizeof (int) * (regno - FP0_REGNUM); \ // OBSOLETE sizeof (int) * (regno - FP0_REGNUM); \
} // OBSOLETE }
// OBSOLETE
/* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */ // OBSOLETE /* Kernel is a bit tenacious about sharing text segments, disallowing bpts. */
#define ONE_PROCESS_WRITETEXT // OBSOLETE #define ONE_PROCESS_WRITETEXT
// OBSOLETE
/* HAVE_SGTTY also works, last we tried. // OBSOLETE /* HAVE_SGTTY also works, last we tried.
// OBSOLETE
But we have termios, at least as of Ultrix 4.2A, so use it. */ // OBSOLETE But we have termios, at least as of Ultrix 4.2A, so use it. */
#define HAVE_TERMIOS // OBSOLETE #define HAVE_TERMIOS

View file

@ -1,22 +1,22 @@
/* Definitions for MIPS running SVR4 hosting support. // OBSOLETE /* Definitions for MIPS running SVR4 hosting support.
// OBSOLETE
Copyright 1994 Free Software Foundation, Inc. // OBSOLETE Copyright 1994 Free Software Foundation, Inc.
// OBSOLETE
This file is part of GDB. // OBSOLETE This file is part of GDB.
// OBSOLETE
This program is free software; you can redistribute it and/or modify // OBSOLETE 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 // OBSOLETE it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or // OBSOLETE the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. // OBSOLETE (at your option) any later version.
// OBSOLETE
This program is distributed in the hope that it will be useful, // OBSOLETE This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. // OBSOLETE GNU General Public License for more details.
// OBSOLETE
You should have received a copy of the GNU General Public License // OBSOLETE You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software // OBSOLETE along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ // OBSOLETE Boston, MA 02111-1307, USA. */
// OBSOLETE
#include "config/xm-sysv4.h" // OBSOLETE #include "config/xm-sysv4.h"

View file

@ -1,25 +1,25 @@
/* Copyright 1993, 1994, 1995 Free Software Foundation, Inc. // OBSOLETE /* Copyright 1993, 1994, 1995 Free Software Foundation, Inc.
// OBSOLETE
This file is part of GDB. // OBSOLETE This file is part of GDB.
// OBSOLETE
This program is free software; you can redistribute it and/or modify // OBSOLETE 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 // OBSOLETE it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or // OBSOLETE the Free Software Foundation; either version 2 of the License, or
(at your option) any later version. // OBSOLETE (at your option) any later version.
// OBSOLETE
This program is distributed in the hope that it will be useful, // OBSOLETE This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of // OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. // OBSOLETE GNU General Public License for more details.
// OBSOLETE
You should have received a copy of the GNU General Public License // OBSOLETE You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software // OBSOLETE along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, // OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ // OBSOLETE Boston, MA 02111-1307, USA. */
// OBSOLETE
#define HAVE_TERMIO // OBSOLETE #define HAVE_TERMIO
// OBSOLETE
#define USG 1 // OBSOLETE #define USG 1
// OBSOLETE
/* setjmp.h requires uid_t. */ // OBSOLETE /* setjmp.h requires uid_t. */
#include <sys/types.h> // OBSOLETE #include <sys/types.h>

View file

@ -91,17 +91,17 @@ m68*-*-netbsd*) gdb_host=nbsdaout ;;
# OBSOLETE m68*-sun-sunos4*) gdb_host=sun3os4 ;; # OBSOLETE m68*-sun-sunos4*) gdb_host=sun3os4 ;;
# OBSOLETE m68*-sun-*) gdb_host=sun3os4 ;; # OBSOLETE m68*-sun-*) gdb_host=sun3os4 ;;
mips-dec-*) gdb_host=decstation ;; # OBSOLETE mips-dec-*) gdb_host=decstation ;;
mips-little-*) gdb_host=littlemips ;; # OBSOLETE mips-little-*) gdb_host=littlemips ;;
mips-sgi-irix5*) gdb_host=irix5 ;; mips-sgi-irix5*) gdb_host=irix5 ;;
mips-sgi-irix6*) gdb_host=irix6 ;; mips-sgi-irix6*) gdb_host=irix6 ;;
mips-sony-*) gdb_host=news-mips ;; # OBSOLETE mips-sony-*) gdb_host=news-mips ;;
mips*-*-linux*) gdb_host=linux ;; mips*-*-linux*) gdb_host=linux ;;
mips*-*-netbsd*) gdb_host=nbsd ;; mips*-*-netbsd*) gdb_host=nbsd ;;
mips-*-mach3*) gdb_host=mipsm3 ;; # OBSOLETE mips-*-mach3*) gdb_host=mipsm3 ;;
mips-*-sysv4*) gdb_host=mipsv4 ;; # OBSOLETE mips-*-sysv4*) gdb_host=mipsv4 ;;
mips-*-sysv*) gdb_host=riscos ;; # OBSOLETE mips-*-sysv*) gdb_host=riscos ;;
mips-*-riscos*) gdb_host=riscos ;; # OBSOLETE mips-*-riscos*) gdb_host=riscos ;;
none-*-*) gdb_host=none ;; none-*-*) gdb_host=none ;;

View file

@ -140,7 +140,7 @@ mips*-*-linux*) gdb_target=linux
build_gdbserver=yes build_gdbserver=yes
;; ;;
mips*-*-netbsd*) gdb_target=nbsd ;; mips*-*-netbsd*) gdb_target=nbsd ;;
mips*-*-sysv4*) gdb_target=mipsv4 ;; # OBSOLETE mips*-*-sysv4*) gdb_target=mipsv4 ;;
mips*-*-vxworks*) gdb_target=vxmips ;; mips*-*-vxworks*) gdb_target=vxmips ;;
mips*-*-*) gdb_target=embed ;; mips*-*-*) gdb_target=embed ;;