2003-12-01 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 1 Dec 2003 21:10:46 +0000 (21:10 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 1 Dec 2003 21:10:46 +0000 (21:10 +0000)
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.

16 files changed:
gdb/ChangeLog
gdb/NEWS
gdb/config/mips/decstation.mh
gdb/config/mips/littlemips.mh
gdb/config/mips/mipsv4.mt
gdb/config/mips/news-mips.mh
gdb/config/mips/nm-mips.h
gdb/config/mips/nm-news-mips.h
gdb/config/mips/nm-riscos.h
gdb/config/mips/riscos.mh
gdb/config/mips/tm-mipsv4.h
gdb/config/mips/xm-mips.h
gdb/config/mips/xm-mipsv4.h
gdb/config/mips/xm-riscos.h
gdb/configure.host
gdb/configure.tgt

index 89f63a627e79664dd2bface0a22a761baca0e757..fe34473948cad0c2985421b80181592a870b3711 100644 (file)
@@ -1,5 +1,24 @@
 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.
        * configure.host: Mark m68*-sun-*, m68*-sun-sunos4*,
        m68*-sun-sunos3*, m68*-motorola-*, m68*-*-sysv4*, m68*-*-lynxos*,
index 7f525b0010764982c55532a2f3352ad33cf63887..1b64628f222eb2ee27d1d8bf37a90daea42c2226 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -37,6 +37,10 @@ Sun 2, running SunOS 4                               m68000-*-sunos4*
 Motorola 680x0 running LynxOS                  m68*-*-lynxos*
 AT&T 3b1/Unix pc                               m68*-att-*
 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
 
index 89ce310b6fa383884540cd83f3e84fbdc1b8d54b..63de3da10b50b8b25b57ed462185354eee5e4341 100644 (file)
@@ -1,4 +1,4 @@
-# Host: Little-endian MIPS machine such as DECstation.
-XM_FILE= xm-mips.h
-NAT_FILE= nm-mips.h
-NATDEPFILES= infptrace.o inftarg.o corelow.o mips-nat.o fork-child.o
+# OBSOLETE # Host: Little-endian MIPS machine such as DECstation.
+# OBSOLETE XM_FILE= xm-mips.h
+# OBSOLETE NAT_FILE= nm-mips.h
+# OBSOLETE NATDEPFILES= infptrace.o inftarg.o corelow.o mips-nat.o fork-child.o
index 581a9084e3ff79b541191aff4727a8d38948a05d..30c40ad847cbc85541740b69ef8ab5fb80a0b0fa 100644 (file)
@@ -1,3 +1,3 @@
-# Host: Little-endian MIPS machine such as DECstation.
-NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o
-XM_FILE= xm-mips.h
+# OBSOLETE # Host: Little-endian MIPS machine such as DECstation.
+# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o
+# OBSOLETE XM_FILE= xm-mips.h
index 6d3b47d024a695dd33c842708a2fcc1ee0db4678..13320c20ae60ed508d4c32ac4e829326a2f8375c 100644 (file)
@@ -1,3 +1,3 @@
-# Target: MIPS running SVR4
-TDEPFILES= mips-tdep.o
-TM_FILE= tm-mipsv4.h
+# OBSOLETE # Target: MIPS running SVR4
+# OBSOLETE TDEPFILES= mips-tdep.o
+# OBSOLETE TM_FILE= tm-mipsv4.h
index 5cc138f38e470b8289817207033dbbc84dd3126d..f2c7f89b3ed5ccfc17a9de85ae5fdbca9b870820 100644 (file)
@@ -1,3 +1,3 @@
-# Host: Big-endian MIPS machine such as Sony News
-NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o mips-nat.o
-NAT_FILE= nm-news-mips.h
+# OBSOLETE # Host: Big-endian MIPS machine such as Sony News
+# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o mips-nat.o
+# OBSOLETE NAT_FILE= nm-news-mips.h
index 7b61d83e6b9937b9c47f8f696cf9c805f1aed09b..f20ddf1d46638566e3be53176e7802c62f5987a0 100644 (file)
@@ -1,34 +1,34 @@
-/* Native definitions for GDB on DECstations, Sony News. and MIPS Riscos systems
-   Copyright 1986, 1987, 1989, 1992, 1995, 1996, 2000
-   Free Software Foundation, Inc.
-   Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
-   and by Alessandro Forin(af@cs.cmu.edu) at CMU
-
-   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.  */
-
-/* Override copies of {fetch,store}_inferior_registers in infptrace.c.  */
-#define FETCH_INFERIOR_REGISTERS
-
-/* 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
-   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.
-   This routine returns true on success */
-
-#define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
-extern int get_longjmp_target (CORE_ADDR *);
+// OBSOLETE /* Native definitions for GDB on DECstations, Sony News. and MIPS Riscos systems
+// OBSOLETE    Copyright 1986, 1987, 1989, 1992, 1995, 1996, 2000
+// OBSOLETE    Free Software Foundation, Inc.
+// OBSOLETE    Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
+// OBSOLETE    and by Alessandro Forin(af@cs.cmu.edu) at CMU
+// OBSOLETE 
+// OBSOLETE    This file is part of GDB.
+// OBSOLETE 
+// OBSOLETE    This program is free software; you can redistribute it and/or modify
+// OBSOLETE    it under the terms of the GNU General Public License as published by
+// OBSOLETE    the Free Software Foundation; either version 2 of the License, or
+// OBSOLETE    (at your option) any later version.
+// OBSOLETE 
+// OBSOLETE    This program is distributed in the hope that it will be useful,
+// OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of
+// OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// OBSOLETE    GNU General Public License for more details.
+// OBSOLETE 
+// OBSOLETE    You should have received a copy of the GNU General Public License
+// OBSOLETE    along with this program; if not, write to the Free Software
+// OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330,
+// OBSOLETE    Boston, MA 02111-1307, USA.  */
+// OBSOLETE 
+// OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c.  */
+// OBSOLETE #define FETCH_INFERIOR_REGISTERS
+// OBSOLETE 
+// OBSOLETE /* Figure out where the longjmp will land.  We expect that we have just entered
+// OBSOLETE    longjmp and haven't yet setup the stack frame, so the args are still in the
+// OBSOLETE    argument regs.  a0 (CALL_ARG0) points at the jmp_buf structure from which we
+// OBSOLETE    extract the pc (JB_PC) that we will land at.  The pc is copied into ADDR.
+// OBSOLETE    This routine returns true on success */
+// OBSOLETE 
+// OBSOLETE #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)
+// OBSOLETE extern int get_longjmp_target (CORE_ADDR *);
index 9f80eb557090f9cfb24ee92a9a83b8b18f05b0bb..15d9b7b2c36512d06f0aa8d7be89987db0411e17 100644 (file)
@@ -1,43 +1,43 @@
-/* Definitions to make GDB run on a mips box under 4.3bsd.
-   Copyright 1986, 1987, 1989, 1993, 1996 Free Software Foundation, Inc.
-   Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
-   and by Alessandro Forin(af@cs.cmu.edu) at CMU
-
-   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_NEWS_MIPS_H
-#define NM_NEWS_MIPS_H 1
-
-/* Needed for RISC NEWS core files.  */
-#include <machine/machparam.h>
-#include <sys/types.h>
-#define KERNEL_U_ADDR UADDR
-
-#define REGISTER_U_ADDR(addr, blockend, regno)                 \
-       if (regno < 38) addr = (NBPG*UPAGES) + (regno - 38)*sizeof(int);\
-       else addr = 0;          /* ..somewhere in the pcb */
-
-/* Kernel is a bit tenacious about sharing text segments, disallowing bpts.  */
-#define        ONE_PROCESS_WRITETEXT
-
-#include "mips/nm-mips.h"
-
-/* Apparently not in <sys/types.h> */
-typedef int pid_t;
-
-#endif /* NM_NEWS_MIPS_H */
+// OBSOLETE /* Definitions to make GDB run on a mips box under 4.3bsd.
+// OBSOLETE    Copyright 1986, 1987, 1989, 1993, 1996 Free Software Foundation, Inc.
+// OBSOLETE    Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
+// OBSOLETE    and by Alessandro Forin(af@cs.cmu.edu) at CMU
+// OBSOLETE 
+// OBSOLETE    This file is part of GDB.
+// OBSOLETE 
+// OBSOLETE    This program is free software; you can redistribute it and/or modify
+// OBSOLETE    it under the terms of the GNU General Public License as published by
+// OBSOLETE    the Free Software Foundation; either version 2 of the License, or
+// OBSOLETE    (at your option) any later version.
+// OBSOLETE 
+// OBSOLETE    This program is distributed in the hope that it will be useful,
+// OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of
+// OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// OBSOLETE    GNU General Public License for more details.
+// OBSOLETE 
+// OBSOLETE    You should have received a copy of the GNU General Public License
+// OBSOLETE    along with this program; if not, write to the Free Software
+// OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330,
+// OBSOLETE    Boston, MA 02111-1307, USA.  */
+// OBSOLETE 
+// OBSOLETE #ifndef NM_NEWS_MIPS_H
+// OBSOLETE #define NM_NEWS_MIPS_H 1
+// OBSOLETE 
+// OBSOLETE /* Needed for RISC NEWS core files.  */
+// OBSOLETE #include <machine/machparam.h>
+// OBSOLETE #include <sys/types.h>
+// OBSOLETE #define KERNEL_U_ADDR UADDR
+// OBSOLETE 
+// OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno)             \
+// OBSOLETE    if (regno < 38) addr = (NBPG*UPAGES) + (regno - 38)*sizeof(int);\
+// OBSOLETE    else addr = 0;          /* ..somewhere in the pcb */
+// OBSOLETE 
+// OBSOLETE /* Kernel is a bit tenacious about sharing text segments, disallowing bpts.  */
+// OBSOLETE #define    ONE_PROCESS_WRITETEXT
+// OBSOLETE 
+// OBSOLETE #include "mips/nm-mips.h"
+// OBSOLETE 
+// OBSOLETE /* Apparently not in <sys/types.h> */
+// OBSOLETE typedef int pid_t;
+// OBSOLETE 
+// OBSOLETE #endif /* NM_NEWS_MIPS_H */
index f65b7c7003932d0d30b61684c4db8974338c6d18..dba51b2775c283f00b9f4d2c631a84d50b364cf8 100644 (file)
@@ -1,60 +1,60 @@
-/* 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.  */
-
-/* MIPS running RISC/os 4.52C.  */
-
-#define PCB_OFFSET(FIELD) ((int)&((struct user*)0)->u_pcb.FIELD)
-
-/* RISC/os 5.0 defines this in machparam.h.  */
-#include <bsd43/machine/machparam.h>
-#define NBPG BSD43_NBPG
-#define UPAGES BSD43_UPAGES
-
-/* 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.
-   Does the compiler react badly to "extern CORE_ADDR kernel_u_addr" (even
-   if never referenced)?  */
-#define KERNEL_U_ADDR BSD43_UADDR
-
-#define REGISTER_U_ADDR(addr, blockend, regno)                 \
-             if (regno < FP0_REGNUM) \
-                 addr =  UPAGES*NBPG-EF_SIZE+4*((regno)+EF_AT-1); \
-             else if (regno < PC_REGNUM) \
-                 addr = PCB_OFFSET(pcb_fpregs[0]) + 4*(regno-FP0_REGNUM); \
-              else if (regno == PS_REGNUM) \
-                  addr = UPAGES*NBPG-EF_SIZE+4*EF_SR; \
-              else if (regno == mips_regnum (current_gdbarch)->badvaddr) \
-                 addr = UPAGES*NBPG-EF_SIZE+4*EF_BADVADDR; \
-             else if (regno == mips_regnum (current_gdbarch)->lo) \
-                 addr = UPAGES*NBPG-EF_SIZE+4*EF_MDLO; \
-             else if (regno == mips_regnum (current_gdbarch)->hi) \
-                 addr = UPAGES*NBPG-EF_SIZE+4*EF_MDHI; \
-             else if (regno == mips_regnum (current_gdbarch)->cause) \
-                 addr = UPAGES*NBPG-EF_SIZE+4*EF_CAUSE; \
-             else if (regno == mips_regnum (current_gdbarch)->pc) \
-                 addr = UPAGES*NBPG-EF_SIZE+4*EF_EPC; \
-              else if (regno < mips_regnum (current_gdbarch)->fp_control_status) \
-                 addr = PCB_OFFSET(pcb_fpregs[0]) + 4*(regno-FP0_REGNUM); \
-             else if (regno == mips_regnum (current_gdbarch)->fp_control_status) \
-                 addr = PCB_OFFSET(pcb_fpc_csr); \
-             else if (regno == mips_regnum (current_gdbarch)->fp_implementation_revision) \
-                 addr = PCB_OFFSET(pcb_fpc_eir); \
-              else \
-                  addr = 0;
-
-#include "mips/nm-mips.h"
-
-/* Override copies of {fetch,store}_inferior_registers in infptrace.c.  */
-#define FETCH_INFERIOR_REGISTERS
+// OBSOLETE /* This program is free software; you can redistribute it and/or modify
+// OBSOLETE    it under the terms of the GNU General Public License as published by
+// OBSOLETE    the Free Software Foundation; either version 2 of the License, or
+// OBSOLETE    (at your option) any later version.
+// OBSOLETE 
+// OBSOLETE    This program is distributed in the hope that it will be useful,
+// OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of
+// OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// OBSOLETE    GNU General Public License for more details.
+// OBSOLETE 
+// OBSOLETE    You should have received a copy of the GNU General Public License
+// OBSOLETE    along with this program; if not, write to the Free Software
+// OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330,
+// OBSOLETE    Boston, MA 02111-1307, USA.  */
+// OBSOLETE 
+// OBSOLETE /* MIPS running RISC/os 4.52C.  */
+// OBSOLETE 
+// OBSOLETE #define PCB_OFFSET(FIELD) ((int)&((struct user*)0)->u_pcb.FIELD)
+// OBSOLETE 
+// OBSOLETE /* RISC/os 5.0 defines this in machparam.h.  */
+// OBSOLETE #include <bsd43/machine/machparam.h>
+// OBSOLETE #define NBPG BSD43_NBPG
+// OBSOLETE #define UPAGES BSD43_UPAGES
+// OBSOLETE 
+// OBSOLETE /* Where is this used?  I don't see any uses in mips-nat.c, and I don't think
+// OBSOLETE    the uses in infptrace.c are used if FETCH_INFERIOR_REGISTERS is defined.
+// OBSOLETE    Does the compiler react badly to "extern CORE_ADDR kernel_u_addr" (even
+// OBSOLETE    if never referenced)?  */
+// OBSOLETE #define KERNEL_U_ADDR BSD43_UADDR
+// OBSOLETE 
+// OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno)             \
+// OBSOLETE          if (regno < FP0_REGNUM) \
+// OBSOLETE              addr =  UPAGES*NBPG-EF_SIZE+4*((regno)+EF_AT-1); \
+// OBSOLETE          else if (regno < PC_REGNUM) \
+// OBSOLETE              addr = PCB_OFFSET(pcb_fpregs[0]) + 4*(regno-FP0_REGNUM); \
+// OBSOLETE               else if (regno == PS_REGNUM) \
+// OBSOLETE                   addr = UPAGES*NBPG-EF_SIZE+4*EF_SR; \
+// OBSOLETE               else if (regno == mips_regnum (current_gdbarch)->badvaddr) \
+// OBSOLETE              addr = UPAGES*NBPG-EF_SIZE+4*EF_BADVADDR; \
+// OBSOLETE          else if (regno == mips_regnum (current_gdbarch)->lo) \
+// OBSOLETE              addr = UPAGES*NBPG-EF_SIZE+4*EF_MDLO; \
+// OBSOLETE          else if (regno == mips_regnum (current_gdbarch)->hi) \
+// OBSOLETE              addr = UPAGES*NBPG-EF_SIZE+4*EF_MDHI; \
+// OBSOLETE          else if (regno == mips_regnum (current_gdbarch)->cause) \
+// OBSOLETE              addr = UPAGES*NBPG-EF_SIZE+4*EF_CAUSE; \
+// OBSOLETE          else if (regno == mips_regnum (current_gdbarch)->pc) \
+// OBSOLETE              addr = UPAGES*NBPG-EF_SIZE+4*EF_EPC; \
+// OBSOLETE               else if (regno < mips_regnum (current_gdbarch)->fp_control_status) \
+// OBSOLETE              addr = PCB_OFFSET(pcb_fpregs[0]) + 4*(regno-FP0_REGNUM); \
+// OBSOLETE          else if (regno == mips_regnum (current_gdbarch)->fp_control_status) \
+// OBSOLETE              addr = PCB_OFFSET(pcb_fpc_csr); \
+// OBSOLETE          else if (regno == mips_regnum (current_gdbarch)->fp_implementation_revision) \
+// OBSOLETE              addr = PCB_OFFSET(pcb_fpc_eir); \
+// OBSOLETE               else \
+// OBSOLETE                   addr = 0;
+// OBSOLETE 
+// OBSOLETE #include "mips/nm-mips.h"
+// OBSOLETE 
+// OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c.  */
+// OBSOLETE #define FETCH_INFERIOR_REGISTERS
index 6a3192f382b60ab867aa6853e25ed55ce0d1a1d6..0a1c31c65f112b500501db03c8efeb7e8f11c860 100644 (file)
@@ -1,16 +1,16 @@
-# Host: MIPS running RISC/os
-
-XM_FILE= xm-riscos.h
-
-NAT_FILE= nm-riscos.h
-NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o mips-nat.o
-
-MH_CFLAGS=-Wf,-XNh10000
-
-# ptrace(2) apparently has problems in the BSD environment.  No workaround is
-# known except to select the sysv environment.  Could we use /proc instead?
-# These "sysv environments" and "bsd environments" often end up being a pain.
-#
-# This is not part of CFLAGS because perhaps not all C compilers have this
-# option.
-CC= cc -systype sysv
+# OBSOLETE # Host: MIPS running RISC/os
+# OBSOLETE 
+# OBSOLETE XM_FILE= xm-riscos.h
+# OBSOLETE 
+# OBSOLETE NAT_FILE= nm-riscos.h
+# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o mips-nat.o
+# OBSOLETE 
+# OBSOLETE MH_CFLAGS=-Wf,-XNh10000
+# OBSOLETE 
+# OBSOLETE # ptrace(2) apparently has problems in the BSD environment.  No workaround is
+# OBSOLETE # known except to select the sysv environment.  Could we use /proc instead?
+# OBSOLETE # These "sysv environments" and "bsd environments" often end up being a pain.
+# OBSOLETE #
+# OBSOLETE # This is not part of CFLAGS because perhaps not all C compilers have this
+# OBSOLETE # option.
+# OBSOLETE CC= cc -systype sysv
index fa4f0e011b4396d11ba7710899fe3e9315cefd6f..94607414f3bc30293dcc2afd3dcfc7f90d4a36ec 100644 (file)
@@ -1,37 +1,37 @@
-/* Target machine description for MIPS running SVR4, for GDB.
-   Copyright 1994, 1995, 1998, 1999, 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.  */
-
-#include "mips/tm-mips.h"
-#include "config/tm-sysv4.h"
-
-/* The signal handler trampoline is called _sigtramp.  */
-#undef IN_SIGTRAMP
-#define IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
-
-/* On entry to the signal handler trampoline, an ucontext is already
-   pushed on the stack. We can get at the saved registers via the
-   mcontext which is contained within the ucontext.  */
-#define SIGFRAME_BASE  0
-#define SIGFRAME_REGSAVE_OFF   (SIGFRAME_BASE + 40)
-#define SIGFRAME_PC_OFF                (SIGFRAME_BASE + 40 + 35 * 4)
-#define SIGFRAME_FPREGSAVE_OFF (SIGFRAME_BASE + 40 + 36 * 4)
-
-/* Convert a DWARF register number to a gdb REGNUM.  */
-#define DWARF_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32)
+// OBSOLETE /* Target machine description for MIPS running SVR4, for GDB.
+// OBSOLETE    Copyright 1994, 1995, 1998, 1999, 2000 Free Software Foundation, Inc.
+// OBSOLETE 
+// OBSOLETE    This file is part of GDB.
+// OBSOLETE 
+// OBSOLETE    This program is free software; you can redistribute it and/or modify
+// OBSOLETE    it under the terms of the GNU General Public License as published by
+// OBSOLETE    the Free Software Foundation; either version 2 of the License, or
+// OBSOLETE    (at your option) any later version.
+// OBSOLETE 
+// OBSOLETE    This program is distributed in the hope that it will be useful,
+// OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of
+// OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// OBSOLETE    GNU General Public License for more details.
+// OBSOLETE 
+// OBSOLETE    You should have received a copy of the GNU General Public License
+// OBSOLETE    along with this program; if not, write to the Free Software
+// OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330,
+// OBSOLETE    Boston, MA 02111-1307, USA.  */
+// OBSOLETE 
+// OBSOLETE #include "mips/tm-mips.h"
+// OBSOLETE #include "config/tm-sysv4.h"
+// OBSOLETE 
+// OBSOLETE /* The signal handler trampoline is called _sigtramp.  */
+// OBSOLETE #undef IN_SIGTRAMP
+// OBSOLETE #define IN_SIGTRAMP(pc, name) ((name) && DEPRECATED_STREQ ("_sigtramp", name))
+// OBSOLETE 
+// OBSOLETE /* On entry to the signal handler trampoline, an ucontext is already
+// OBSOLETE    pushed on the stack. We can get at the saved registers via the
+// OBSOLETE    mcontext which is contained within the ucontext.  */
+// OBSOLETE #define SIGFRAME_BASE      0
+// OBSOLETE #define SIGFRAME_REGSAVE_OFF       (SIGFRAME_BASE + 40)
+// OBSOLETE #define SIGFRAME_PC_OFF            (SIGFRAME_BASE + 40 + 35 * 4)
+// OBSOLETE #define SIGFRAME_FPREGSAVE_OFF     (SIGFRAME_BASE + 40 + 36 * 4)
+// OBSOLETE 
+// OBSOLETE /* Convert a DWARF register number to a gdb REGNUM.  */
+// OBSOLETE #define DWARF_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32)
index c1f53b53ed9de0cc3fa8dce488e3ad1018dbbc05..bc3aa6e40c4c5070734765e1b819a24341a5600c 100644 (file)
@@ -1,59 +1,59 @@
-/* Definitions to make GDB run on a mips box under 4.3bsd.
-   Copyright 1986, 1987, 1989, 1993, 1994, 1995, 1996, 1998
-   Free Software Foundation, Inc.
-   Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
-   and by Alessandro Forin(af@cs.cmu.edu) at CMU
-
-   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.  */
-
-#ifdef ultrix
-/* Needed for DECstation core files.  */
-#include <machine/param.h>
-#define KERNEL_U_ADDR UADDR
-
-/* Native Ultrix cc has broken long long support.  */
-#ifndef __GNUC__
-#undef CC_HAS_LONG_LONG
-#endif
-#endif
-
-#if ! defined (__GNUC__) && ! defined (offsetof)
-#define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
-#endif
-
-/* Only used for core files on DECstations.
-   First four registers at u.u_ar0 are saved arguments, and
-   there is no r0 saved.   Float registers are saved
-   in u_pcb.pcb_fpregs, not relative to u.u_ar0.  */
-
-#define REGISTER_U_ADDR(addr, blockend, regno)                 \
-       { \
-         if (regno < FP0_REGNUM) \
-           addr = blockend + sizeof(int) * (4 + regno - 1); \
-         else \
-           addr = offsetof (struct user, u_pcb.pcb_fpregs[0]) + \
-                  sizeof (int) * (regno - FP0_REGNUM); \
-       }
-
-/* Kernel is a bit tenacious about sharing text segments, disallowing bpts.  */
-#define        ONE_PROCESS_WRITETEXT
-
-/* HAVE_SGTTY also works, last we tried.
-
-   But we have termios, at least as of Ultrix 4.2A, so use it.  */
-#define HAVE_TERMIOS
+// OBSOLETE /* Definitions to make GDB run on a mips box under 4.3bsd.
+// OBSOLETE    Copyright 1986, 1987, 1989, 1993, 1994, 1995, 1996, 1998
+// OBSOLETE    Free Software Foundation, Inc.
+// OBSOLETE    Contributed by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin
+// OBSOLETE    and by Alessandro Forin(af@cs.cmu.edu) at CMU
+// OBSOLETE 
+// OBSOLETE    This file is part of GDB.
+// OBSOLETE 
+// OBSOLETE    This program is free software; you can redistribute it and/or modify
+// OBSOLETE    it under the terms of the GNU General Public License as published by
+// OBSOLETE    the Free Software Foundation; either version 2 of the License, or
+// OBSOLETE    (at your option) any later version.
+// OBSOLETE 
+// OBSOLETE    This program is distributed in the hope that it will be useful,
+// OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of
+// OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// OBSOLETE    GNU General Public License for more details.
+// OBSOLETE 
+// OBSOLETE    You should have received a copy of the GNU General Public License
+// OBSOLETE    along with this program; if not, write to the Free Software
+// OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330,
+// OBSOLETE    Boston, MA 02111-1307, USA.  */
+// OBSOLETE 
+// OBSOLETE #ifdef ultrix
+// OBSOLETE /* Needed for DECstation core files.  */
+// OBSOLETE #include <machine/param.h>
+// OBSOLETE #define KERNEL_U_ADDR UADDR
+// OBSOLETE 
+// OBSOLETE /* Native Ultrix cc has broken long long support.  */
+// OBSOLETE #ifndef __GNUC__
+// OBSOLETE #undef CC_HAS_LONG_LONG
+// OBSOLETE #endif
+// OBSOLETE #endif
+// OBSOLETE 
+// OBSOLETE #if ! defined (__GNUC__) && ! defined (offsetof)
+// OBSOLETE #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
+// OBSOLETE #endif
+// OBSOLETE 
+// OBSOLETE /* Only used for core files on DECstations.
+// OBSOLETE    First four registers at u.u_ar0 are saved arguments, and
+// OBSOLETE    there is no r0 saved.   Float registers are saved
+// OBSOLETE    in u_pcb.pcb_fpregs, not relative to u.u_ar0.  */
+// OBSOLETE 
+// OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno)             \
+// OBSOLETE    { \
+// OBSOLETE      if (regno < FP0_REGNUM) \
+// OBSOLETE        addr = blockend + sizeof(int) * (4 + regno - 1); \
+// OBSOLETE      else \
+// OBSOLETE        addr = offsetof (struct user, u_pcb.pcb_fpregs[0]) + \
+// OBSOLETE               sizeof (int) * (regno - FP0_REGNUM); \
+// OBSOLETE    }
+// OBSOLETE 
+// OBSOLETE /* Kernel is a bit tenacious about sharing text segments, disallowing bpts.  */
+// OBSOLETE #define    ONE_PROCESS_WRITETEXT
+// OBSOLETE 
+// OBSOLETE /* HAVE_SGTTY also works, last we tried.
+// OBSOLETE 
+// OBSOLETE    But we have termios, at least as of Ultrix 4.2A, so use it.  */
+// OBSOLETE #define HAVE_TERMIOS
index eccb2964d05cf72af4e6e73805ade24e6d823c1f..1f39e31ae1d2f1e0f9d672aaf21ea9ba98a675e9 100644 (file)
@@ -1,22 +1,22 @@
-/* Definitions for MIPS running SVR4 hosting support.
-
-   Copyright 1994 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 "config/xm-sysv4.h"
+// OBSOLETE /* Definitions for MIPS running SVR4 hosting support.
+// OBSOLETE 
+// OBSOLETE    Copyright 1994 Free Software Foundation, Inc.
+// OBSOLETE 
+// OBSOLETE    This file is part of GDB.
+// OBSOLETE 
+// OBSOLETE    This program is free software; you can redistribute it and/or modify
+// OBSOLETE    it under the terms of the GNU General Public License as published by
+// OBSOLETE    the Free Software Foundation; either version 2 of the License, or
+// OBSOLETE    (at your option) any later version.
+// OBSOLETE 
+// OBSOLETE    This program is distributed in the hope that it will be useful,
+// OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of
+// OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// OBSOLETE    GNU General Public License for more details.
+// OBSOLETE 
+// OBSOLETE    You should have received a copy of the GNU General Public License
+// OBSOLETE    along with this program; if not, write to the Free Software
+// OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330,
+// OBSOLETE    Boston, MA 02111-1307, USA.  */
+// OBSOLETE 
+// OBSOLETE #include "config/xm-sysv4.h"
index 1f03c5a00a81131fb074f21b780e39c7443f060e..d8a65334a66abd78516ed0fff93317f4a00c8566 100644 (file)
@@ -1,25 +1,25 @@
-/* Copyright 1993, 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.  */
-
-#define HAVE_TERMIO
-
-#define USG 1
-
-/* setjmp.h requires uid_t.  */
-#include <sys/types.h>
+// OBSOLETE /* Copyright 1993, 1994, 1995 Free Software Foundation, Inc.
+// OBSOLETE 
+// OBSOLETE    This file is part of GDB.
+// OBSOLETE 
+// OBSOLETE    This program is free software; you can redistribute it and/or modify
+// OBSOLETE    it under the terms of the GNU General Public License as published by
+// OBSOLETE    the Free Software Foundation; either version 2 of the License, or
+// OBSOLETE    (at your option) any later version.
+// OBSOLETE 
+// OBSOLETE    This program is distributed in the hope that it will be useful,
+// OBSOLETE    but WITHOUT ANY WARRANTY; without even the implied warranty of
+// OBSOLETE    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// OBSOLETE    GNU General Public License for more details.
+// OBSOLETE 
+// OBSOLETE    You should have received a copy of the GNU General Public License
+// OBSOLETE    along with this program; if not, write to the Free Software
+// OBSOLETE    Foundation, Inc., 59 Temple Place - Suite 330,
+// OBSOLETE    Boston, MA 02111-1307, USA.  */
+// OBSOLETE 
+// OBSOLETE #define HAVE_TERMIO
+// OBSOLETE 
+// OBSOLETE #define USG 1
+// OBSOLETE 
+// OBSOLETE /* setjmp.h requires uid_t.  */
+// OBSOLETE #include <sys/types.h>
index e6161856de9625c3d00d1c5b7a543ef502d2708a..723d87c601e53394aa20af52e6a31460e470a809 100644 (file)
@@ -91,17 +91,17 @@ m68*-*-netbsd*)             gdb_host=nbsdaout ;;
 # OBSOLETE m68*-sun-sunos4*)   gdb_host=sun3os4 ;;
 # OBSOLETE m68*-sun-*)         gdb_host=sun3os4 ;;
 
-mips-dec-*)            gdb_host=decstation ;;
-mips-little-*)         gdb_host=littlemips ;;
+# OBSOLETE mips-dec-*)         gdb_host=decstation ;;
+# OBSOLETE mips-little-*)              gdb_host=littlemips ;;
 mips-sgi-irix5*)       gdb_host=irix5 ;;
 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*-*-netbsd*)       gdb_host=nbsd ;;
-mips-*-mach3*)         gdb_host=mipsm3 ;;
-mips-*-sysv4*)         gdb_host=mipsv4 ;;
-mips-*-sysv*)          gdb_host=riscos ;;
-mips-*-riscos*)                gdb_host=riscos ;;
+# OBSOLETE mips-*-mach3*)              gdb_host=mipsm3 ;;
+# OBSOLETE mips-*-sysv4*)              gdb_host=mipsv4 ;;
+# OBSOLETE mips-*-sysv*)               gdb_host=riscos ;;
+# OBSOLETE mips-*-riscos*)             gdb_host=riscos ;;
 
 none-*-*)              gdb_host=none ;;
 
index 7b3992e3ceae60c2b5de9b1985f44e3cbffda23b..d150ccfb3b902be5714ef89f0065b8cc21214bb3 100644 (file)
@@ -140,7 +140,7 @@ mips*-*-linux*)             gdb_target=linux
                        build_gdbserver=yes
                        ;;
 mips*-*-netbsd*)       gdb_target=nbsd ;;
-mips*-*-sysv4*)                gdb_target=mipsv4 ;;
+# OBSOLETE mips*-*-sysv4*)             gdb_target=mipsv4 ;;
 mips*-*-vxworks*)       gdb_target=vxmips ;;
 mips*-*-*)             gdb_target=embed ;;
 
This page took 0.050385 seconds and 4 git commands to generate.