2003-04-09 Andrew Cagney <cagney@redhat.com>

* NEWS: Mention that the "Sequent family" is obsolete.
	* configure.tgt: Obsolete i[3456]86-sequent-bsd*,
	i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
	* configure.host: Obsolete i[3456]86-sequent-bsd*,
	i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
	* config/i386/tm-ptx4.h: Obsolete file.
	* config/i386/tm-ptx.h: Obsolete file.
	* symm-tdep.c: Obsolete file.
	* config/i386/symmetry.mt: Obsolete file.
	* config/i386/tm-symmetry.h: Obsolete file.
	* symm-nat.c: Obsolete file.
	* config/i386/nm-symmetry.h: Obsolete file.
	* config/i386/xm-symmetry.h: Obsolete file.
	* config/i386/symmetry.mh: Obsolete file.
	* config/i386/nm-ptx4.h: Obsolete file.
	* config/i386/ptx4.mh: Obsolete file.
	* config/i386/ptx.mt: Obsolete file.
	* config/i386/ptx.mh: Obsolete file.
	* config/i386/xm-ptx4.h: Obsolete file.
	* config/i386/xm-ptx.h: Obsolete file.
This commit is contained in:
Andrew Cagney 2003-04-09 16:19:52 +00:00
parent 78c4394505
commit 2fbce69179
20 changed files with 1784 additions and 1758 deletions

View file

@ -1,3 +1,26 @@
2003-04-09 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that the "Sequent family" is obsolete.
* configure.tgt: Obsolete i[3456]86-sequent-bsd*,
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
* configure.host: Obsolete i[3456]86-sequent-bsd*,
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
* config/i386/tm-ptx4.h: Obsolete file.
* config/i386/tm-ptx.h: Obsolete file.
* symm-tdep.c: Obsolete file.
* config/i386/symmetry.mt: Obsolete file.
* config/i386/tm-symmetry.h: Obsolete file.
* symm-nat.c: Obsolete file.
* config/i386/nm-symmetry.h: Obsolete file.
* config/i386/xm-symmetry.h: Obsolete file.
* config/i386/symmetry.mh: Obsolete file.
* config/i386/nm-ptx4.h: Obsolete file.
* config/i386/ptx4.mh: Obsolete file.
* config/i386/ptx.mt: Obsolete file.
* config/i386/ptx.mh: Obsolete file.
* config/i386/xm-ptx4.h: Obsolete file.
* config/i386/xm-ptx.h: Obsolete file.
2003-04-09 Andrew Cagney <cagney@redhat.com> 2003-04-09 Andrew Cagney <cagney@redhat.com>
Obsolete mips*-*-mach3*. Obsolete mips*-*-mach3*.

View file

@ -45,6 +45,9 @@ HP/PA running BSD hppa*-*-bsd*
HP/PA running OSF/1 hppa*-*-osf* HP/PA running OSF/1 hppa*-*-osf*
HP/PA Pro target hppa*-*-pro* HP/PA Pro target hppa*-*-pro*
PMAX (MIPS) running Mach 3.0 mips*-*-mach3* PMAX (MIPS) running Mach 3.0 mips*-*-mach3*
Sequent family i[3456]86-sequent-sysv4*
i[3456]86-sequent-sysv*
i[3456]86-sequent-bsd*
* REMOVED configurations and files * REMOVED configurations and files

View file

@ -1,66 +1,66 @@
/* Definitions to make GDB run on a Sequent Symmetry under ptx // OBSOLETE /* Definitions to make GDB run on a Sequent Symmetry under ptx
with Weitek 1167 and i387 support. // OBSOLETE with Weitek 1167 and i387 support.
Copyright 1986, 1987, 1989, 1992, 1994, 1996, 2000 // OBSOLETE Copyright 1986, 1987, 1989, 1992, 1994, 1996, 2000
Free Software Foundation, Inc. // OBSOLETE 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 "regcache.h" // OBSOLETE #include "regcache.h"
// OBSOLETE
#include "config/nm-sysv4.h" // OBSOLETE #include "config/nm-sysv4.h"
// OBSOLETE
#undef USE_PROC_FS // OBSOLETE #undef USE_PROC_FS
// OBSOLETE
#include "i386/nm-symmetry.h" // OBSOLETE #include "i386/nm-symmetry.h"
// OBSOLETE
#define PTRACE_READ_REGS(pid,regaddr) mptrace (XPT_RREGS, (pid), (regaddr), 0) // OBSOLETE #define PTRACE_READ_REGS(pid,regaddr) mptrace (XPT_RREGS, (pid), (regaddr), 0)
#define PTRACE_WRITE_REGS(pid,regaddr) \ // OBSOLETE #define PTRACE_WRITE_REGS(pid,regaddr) \
mptrace (XPT_WREGS, (pid), (regaddr), 0) // OBSOLETE mptrace (XPT_WREGS, (pid), (regaddr), 0)
// OBSOLETE
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ // OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
// OBSOLETE
#define FETCH_INFERIOR_REGISTERS // OBSOLETE #define FETCH_INFERIOR_REGISTERS
// OBSOLETE
/* We must fetch all the regs before storing, since we store all at once. */ // OBSOLETE /* We must fetch all the regs before storing, since we store all at once. */
// OBSOLETE
#define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, REGISTER_BYTES) // OBSOLETE #define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, REGISTER_BYTES)
// OBSOLETE
#define CHILD_WAIT // OBSOLETE #define CHILD_WAIT
struct target_waitstatus; // OBSOLETE struct target_waitstatus;
extern ptid_t child_wait (ptid_t, struct target_waitstatus *); // OBSOLETE extern ptid_t child_wait (ptid_t, struct target_waitstatus *);
// OBSOLETE
/* // OBSOLETE /*
* ptx does attach as of ptx version 2.1. Prior to that, the interface // OBSOLETE * ptx does attach as of ptx version 2.1. Prior to that, the interface
* exists but does not work. // OBSOLETE * exists but does not work.
* // OBSOLETE *
* FIXME: Using attach/detach requires using the ptx MPDEBUGGER // OBSOLETE * FIXME: Using attach/detach requires using the ptx MPDEBUGGER
* interface. There are still problems with that, so for now don't // OBSOLETE * interface. There are still problems with that, so for now don't
* enable attach/detach. If you turn it on anyway, it will mostly // OBSOLETE * enable attach/detach. If you turn it on anyway, it will mostly
* work, but has a number of bugs. -fubar, 2/94. // OBSOLETE * work, but has a number of bugs. -fubar, 2/94.
*/ // OBSOLETE */
/*#define ATTACH_DETACH 1 */ // OBSOLETE /*#define ATTACH_DETACH 1 */
#undef ATTACH_DETACH // OBSOLETE #undef ATTACH_DETACH
#define PTRACE_ATTACH XPT_DEBUG // OBSOLETE #define PTRACE_ATTACH XPT_DEBUG
#define PTRACE_DETACH XPT_UNDEBUG // OBSOLETE #define PTRACE_DETACH XPT_UNDEBUG
/* // OBSOLETE /*
* The following drivel is needed because there are two ptrace-ish // OBSOLETE * The following drivel is needed because there are two ptrace-ish
* calls on ptx: ptrace() and mptrace(), each of which does about half // OBSOLETE * calls on ptx: ptrace() and mptrace(), each of which does about half
* of the ptrace functions. // OBSOLETE * of the ptrace functions.
*/ // OBSOLETE */
#define PTRACE_ATTACH_CALL(pid) ptx_do_attach(pid) // OBSOLETE #define PTRACE_ATTACH_CALL(pid) ptx_do_attach(pid)
#define PTRACE_DETACH_CALL(pid, signo) ptx_do_detach(pid, signo) // OBSOLETE #define PTRACE_DETACH_CALL(pid, signo) ptx_do_detach(pid, signo)

View file

@ -1,50 +1,50 @@
/* Definitions to make GDB run on a Sequent Symmetry under dynix 3.0, // OBSOLETE /* Definitions to make GDB run on a Sequent Symmetry under dynix 3.0,
with Weitek 1167 and i387 support. // OBSOLETE with Weitek 1167 and i387 support.
Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1998, 2000 // OBSOLETE Copyright 1986, 1987, 1989, 1992, 1994, 1996, 1998, 2000
Free Software Foundation, Inc. // OBSOLETE 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 "regcache.h" // OBSOLETE #include "regcache.h"
// OBSOLETE
/* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ // OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */
// OBSOLETE
#define FETCH_INFERIOR_REGISTERS // OBSOLETE #define FETCH_INFERIOR_REGISTERS
// OBSOLETE
/* We must fetch all the regs before storing, since we store all at once. */ // OBSOLETE /* We must fetch all the regs before storing, since we store all at once. */
// OBSOLETE
#define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, REGISTER_BYTES) // OBSOLETE #define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, REGISTER_BYTES)
// OBSOLETE
#ifdef _SEQUENT_ // OBSOLETE #ifdef _SEQUENT_
#define CHILD_WAIT // OBSOLETE #define CHILD_WAIT
extern ptid_t child_wait (ptid_t, struct target_waitstatus *); // OBSOLETE extern ptid_t child_wait (ptid_t, struct target_waitstatus *);
#endif // OBSOLETE #endif
// OBSOLETE
/* This is the amount to subtract from u.u_ar0 // OBSOLETE /* This is the amount to subtract from u.u_ar0
to get the offset in the core file of the register values. */ // OBSOLETE to get the offset in the core file of the register values. */
// OBSOLETE
#ifdef _SEQUENT_ // OBSOLETE #ifdef _SEQUENT_
#include <sys/param.h> // OBSOLETE #include <sys/param.h>
#include <sys/user.h> // OBSOLETE #include <sys/user.h>
#include <sys/mc_vmparam.h> // OBSOLETE #include <sys/mc_vmparam.h>
/* VA_UAREA is defined in <sys/mc_vmparam.h>, and is dependant upon // OBSOLETE /* VA_UAREA is defined in <sys/mc_vmparam.h>, and is dependant upon
sizeof(struct user) */ // OBSOLETE sizeof(struct user) */
#define KERNEL_U_ADDR (VA_UAREA) /* ptx */ // OBSOLETE #define KERNEL_U_ADDR (VA_UAREA) /* ptx */
#else // OBSOLETE #else
#define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG)) /* dynix */ // OBSOLETE #define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG)) /* dynix */
#endif // OBSOLETE #endif

View file

@ -1,7 +1,7 @@
# Host: Sequent Symmetry running ptx 1.3, with Weitek 1167 or i387 # OBSOLETE # Host: Sequent Symmetry running ptx 1.3, with Weitek 1167 or i387
# OBSOLETE
XM_FILE= xm-ptx.h # OBSOLETE XM_FILE= xm-ptx.h
NATDEPFILES= inftarg.o fork-child.o symm-nat.o corelow.o core-aout.o # OBSOLETE NATDEPFILES= inftarg.o fork-child.o symm-nat.o corelow.o core-aout.o
XM_CLIBS= -lPW -lseq # OBSOLETE XM_CLIBS= -lPW -lseq
# OBSOLETE
NAT_FILE= nm-symmetry.h # OBSOLETE NAT_FILE= nm-symmetry.h

View file

@ -1,3 +1,3 @@
# Target: Sequent Symmetry running ptx 2.0, with Weitek 1167 or i387. # OBSOLETE # Target: Sequent Symmetry running ptx 2.0, with Weitek 1167 or i387.
TDEPFILES= symm-tdep.o i387-tdep.o i386-tdep.o # OBSOLETE TDEPFILES= symm-tdep.o i387-tdep.o i386-tdep.o
TM_FILE= tm-ptx.h # OBSOLETE TM_FILE= tm-ptx.h

View file

@ -1,8 +1,8 @@
# Host: Sequent Symmetry running ptx 1.3, with Weitek 1167 or i387 # OBSOLETE # Host: Sequent Symmetry running ptx 1.3, with Weitek 1167 or i387
# OBSOLETE
XM_FILE= xm-ptx4.h # OBSOLETE XM_FILE= xm-ptx4.h
NATDEPFILES= inftarg.o fork-child.o symm-nat.o corelow.o core-aout.o \ # OBSOLETE NATDEPFILES= inftarg.o fork-child.o symm-nat.o corelow.o core-aout.o \
core-regset.o solib.o solib-svr4.o solib-legacy.o # OBSOLETE core-regset.o solib.o solib-svr4.o solib-legacy.o
XM_CLIBS= -lseq # OBSOLETE XM_CLIBS= -lseq
# OBSOLETE
NAT_FILE= nm-ptx4.h # OBSOLETE NAT_FILE= nm-ptx4.h

View file

@ -1,3 +1,3 @@
# Target: Sequent Symmetry running ptx 4.0, with Weitek 1167 or i387. # OBSOLETE # Target: Sequent Symmetry running ptx 4.0, with Weitek 1167 or i387.
TDEPFILES= symm-tdep.o i387-tdep.o i386-tdep.o # OBSOLETE TDEPFILES= symm-tdep.o i387-tdep.o i386-tdep.o
TM_FILE= tm-ptx4.h # OBSOLETE TM_FILE= tm-ptx4.h

View file

@ -1,4 +1,4 @@
# Host: Sequent Symmetry running Dynix 3.0, with Weitek 1167 or i387. # OBSOLETE # Host: Sequent Symmetry running Dynix 3.0, with Weitek 1167 or i387.
XM_FILE= xm-symmetry.h # OBSOLETE XM_FILE= xm-symmetry.h
NAT_FILE= nm-symmetry.h # OBSOLETE NAT_FILE= nm-symmetry.h
NATDEPFILES= inftarg.o fork-child.o corelow.o core-aout.o symm-nat.o # OBSOLETE NATDEPFILES= inftarg.o fork-child.o corelow.o core-aout.o symm-nat.o

View file

@ -1,3 +1,3 @@
# Target: Sequent Symmetry running Dynix 3.0, with Weitek 1167 or i387. # OBSOLETE # Target: Sequent Symmetry running Dynix 3.0, with Weitek 1167 or i387.
TDEPFILES= i386-tdep.o symm-tdep.o i387-tdep.o # OBSOLETE TDEPFILES= i386-tdep.o symm-tdep.o i387-tdep.o
TM_FILE= tm-symmetry.h # OBSOLETE TM_FILE= tm-symmetry.h

View file

@ -1,194 +1,194 @@
/* Target machine definitions for GDB on a Sequent Symmetry under ptx // OBSOLETE /* Target machine definitions for GDB on a Sequent Symmetry under ptx
with Weitek 1167 and i387 support. // OBSOLETE with Weitek 1167 and i387 support.
// OBSOLETE
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 2000, // OBSOLETE Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 2000,
2003 Free Software Foundation, Inc. // OBSOLETE 2003 Free Software Foundation, Inc.
// OBSOLETE
Symmetry version by Jay Vosburgh (fubar@sequent.com). // OBSOLETE Symmetry version by Jay Vosburgh (fubar@sequent.com).
// 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 TM_PTX_H // OBSOLETE #ifndef TM_PTX_H
#define TM_PTX_H 1 // OBSOLETE #define TM_PTX_H 1
// OBSOLETE
/* I don't know if this will work for cross-debugging, even if you do get // OBSOLETE /* I don't know if this will work for cross-debugging, even if you do get
a copy of the right include file. */ // OBSOLETE a copy of the right include file. */
// OBSOLETE
#include <sys/reg.h> // OBSOLETE #include <sys/reg.h>
// OBSOLETE
#ifdef SEQUENT_PTX4 // OBSOLETE #ifdef SEQUENT_PTX4
#include "i386/tm-i386.h" // OBSOLETE #include "i386/tm-i386.h"
#else /* !SEQUENT_PTX4 */ // OBSOLETE #else /* !SEQUENT_PTX4 */
#include "i386/tm-i386.h" // OBSOLETE #include "i386/tm-i386.h"
#endif // OBSOLETE #endif
// OBSOLETE
/* Amount PC must be decremented by after a breakpoint. This is often the // OBSOLETE /* Amount PC must be decremented by after a breakpoint. This is often the
number of bytes in BREAKPOINT but not always (such as now). */ // OBSOLETE number of bytes in BREAKPOINT but not always (such as now). */
// OBSOLETE
#undef DECR_PC_AFTER_BREAK // OBSOLETE #undef DECR_PC_AFTER_BREAK
#define DECR_PC_AFTER_BREAK 0 // OBSOLETE #define DECR_PC_AFTER_BREAK 0
// OBSOLETE
/* Number of machine registers */ // OBSOLETE /* Number of machine registers */
// OBSOLETE
#undef NUM_REGS // OBSOLETE #undef NUM_REGS
#define NUM_REGS 49 // OBSOLETE #define NUM_REGS 49
// OBSOLETE
/* Initializer for an array of names of registers. There should be at least // OBSOLETE /* Initializer for an array of names of registers. There should be at least
NUM_REGS strings in this initializer. Any excess ones are simply ignored. // OBSOLETE NUM_REGS strings in this initializer. Any excess ones are simply ignored.
The order of the first 8 registers must match the compiler's numbering // OBSOLETE The order of the first 8 registers must match the compiler's numbering
scheme (which is the same as the 386 scheme) and also regmap in the various // OBSOLETE scheme (which is the same as the 386 scheme) and also regmap in the various
*-nat.c files. */ // OBSOLETE *-nat.c files. */
// OBSOLETE
#undef REGISTER_NAME // OBSOLETE #undef REGISTER_NAME
#define REGISTER_NAMES { "eax", "ecx", "edx", "ebx", \ // OBSOLETE #define REGISTER_NAMES { "eax", "ecx", "edx", "ebx", \
"esp", "ebp", "esi", "edi", \ // OBSOLETE "esp", "ebp", "esi", "edi", \
"eip", "eflags", "st0", "st1", \ // OBSOLETE "eip", "eflags", "st0", "st1", \
"st2", "st3", "st4", "st5", \ // OBSOLETE "st2", "st3", "st4", "st5", \
"st6", "st7", "fp1", "fp2", \ // OBSOLETE "st6", "st7", "fp1", "fp2", \
"fp3", "fp4", "fp5", "fp6", \ // OBSOLETE "fp3", "fp4", "fp5", "fp6", \
"fp7", "fp8", "fp9", "fp10", \ // OBSOLETE "fp7", "fp8", "fp9", "fp10", \
"fp11", "fp12", "fp13", "fp14", \ // OBSOLETE "fp11", "fp12", "fp13", "fp14", \
"fp15", "fp16", "fp17", "fp18", \ // OBSOLETE "fp15", "fp16", "fp17", "fp18", \
"fp19", "fp20", "fp21", "fp22", \ // OBSOLETE "fp19", "fp20", "fp21", "fp22", \
"fp23", "fp24", "fp25", "fp26", \ // OBSOLETE "fp23", "fp24", "fp25", "fp26", \
"fp27", "fp28", "fp29", "fp30", \ // OBSOLETE "fp27", "fp28", "fp29", "fp30", \
"fp31" } // OBSOLETE "fp31" }
// OBSOLETE
/* Register numbers of various important registers. // OBSOLETE /* Register numbers of various important registers.
Note that some of these values are "real" register numbers, // OBSOLETE Note that some of these values are "real" register numbers,
and correspond to the general registers of the machine, // OBSOLETE and correspond to the general registers of the machine,
and some are "phony" register numbers which are too large // OBSOLETE and some are "phony" register numbers which are too large
to be actual register numbers as far as the user is concerned // OBSOLETE to be actual register numbers as far as the user is concerned
but do serve to get the desired values when passed to read_register. */ // OBSOLETE but do serve to get the desired values when passed to read_register. */
// OBSOLETE
#define EAX_REGNUM 0 // OBSOLETE #define EAX_REGNUM 0
#define ECX_REGNUM 1 // OBSOLETE #define ECX_REGNUM 1
#define EDX_REGNUM 2 // OBSOLETE #define EDX_REGNUM 2
#define EBX_REGNUM 3 // OBSOLETE #define EBX_REGNUM 3
// OBSOLETE
#define ESP_REGNUM 4 // OBSOLETE #define ESP_REGNUM 4
#define EBP_REGNUM 5 // OBSOLETE #define EBP_REGNUM 5
// OBSOLETE
#define ESI_REGNUM 6 // OBSOLETE #define ESI_REGNUM 6
#define EDI_REGNUM 7 // OBSOLETE #define EDI_REGNUM 7
// OBSOLETE
#define EIP_REGNUM 8 // OBSOLETE #define EIP_REGNUM 8
#define EFLAGS_REGNUM 9 // OBSOLETE #define EFLAGS_REGNUM 9
// OBSOLETE
#define ST0_REGNUM 10 // OBSOLETE #define ST0_REGNUM 10
#define ST1_REGNUM 11 // OBSOLETE #define ST1_REGNUM 11
#define ST2_REGNUM 12 // OBSOLETE #define ST2_REGNUM 12
#define ST3_REGNUM 13 // OBSOLETE #define ST3_REGNUM 13
// OBSOLETE
#define ST4_REGNUM 14 // OBSOLETE #define ST4_REGNUM 14
#define ST5_REGNUM 15 // OBSOLETE #define ST5_REGNUM 15
#define ST6_REGNUM 16 // OBSOLETE #define ST6_REGNUM 16
#define ST7_REGNUM 17 // OBSOLETE #define ST7_REGNUM 17
// OBSOLETE
#define FP1_REGNUM 18 /* first 1167 register */ // OBSOLETE #define FP1_REGNUM 18 /* first 1167 register */
/* Get %fp2 - %fp31 by addition, since they are contiguous */ // OBSOLETE /* Get %fp2 - %fp31 by addition, since they are contiguous */
// OBSOLETE
#undef SP_REGNUM // OBSOLETE #undef SP_REGNUM
#define SP_REGNUM ESP_REGNUM /* Contains address of top of stack */ // OBSOLETE #define SP_REGNUM ESP_REGNUM /* Contains address of top of stack */
#undef FP_REGNUM // OBSOLETE #undef FP_REGNUM
#define FP_REGNUM EBP_REGNUM /* Contains address of executing stack frame */ // OBSOLETE #define FP_REGNUM EBP_REGNUM /* Contains address of executing stack frame */
#undef PC_REGNUM // OBSOLETE #undef PC_REGNUM
#define PC_REGNUM EIP_REGNUM /* Contains program counter */ // OBSOLETE #define PC_REGNUM EIP_REGNUM /* Contains program counter */
#undef PS_REGNUM // OBSOLETE #undef PS_REGNUM
#define PS_REGNUM EFLAGS_REGNUM /* Contains processor status */ // OBSOLETE #define PS_REGNUM EFLAGS_REGNUM /* Contains processor status */
// OBSOLETE
/* // OBSOLETE /*
* For ptx, this is a little bit bizarre, since the register block // OBSOLETE * For ptx, this is a little bit bizarre, since the register block
* is below the u area in memory. This means that blockend here ends // OBSOLETE * is below the u area in memory. This means that blockend here ends
* up being negative (for the call from coredep.c) since the value in // OBSOLETE * up being negative (for the call from coredep.c) since the value in
* u.u_ar0 will be less than KERNEL_U_ADDR (and coredep.c passes us // OBSOLETE * u.u_ar0 will be less than KERNEL_U_ADDR (and coredep.c passes us
* u.u_ar0 - KERNEL_U_ADDR in blockend). Since we also define // OBSOLETE * u.u_ar0 - KERNEL_U_ADDR in blockend). Since we also define
* FETCH_INFERIOR_REGISTERS (and supply our own functions for that), // OBSOLETE * FETCH_INFERIOR_REGISTERS (and supply our own functions for that),
* the core file case will be the only use of this function. // OBSOLETE * the core file case will be the only use of this function.
*/ // OBSOLETE */
// OBSOLETE
#define REGISTER_U_ADDR(addr, blockend, regno) \ // OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \
{ (addr) = ptx_register_u_addr((blockend), (regno)); } // OBSOLETE { (addr) = ptx_register_u_addr((blockend), (regno)); }
// OBSOLETE
extern int ptx_register_u_addr (int, int); // OBSOLETE extern int ptx_register_u_addr (int, int);
// OBSOLETE
/* Total amount of space needed to store our copies of the machine's // OBSOLETE /* Total amount of space needed to store our copies of the machine's
register state, the array `registers'. 10 i*86 registers, 8 i387 // OBSOLETE register state, the array `registers'. 10 i*86 registers, 8 i387
registers, and 31 Weitek 1167 registers */ // OBSOLETE registers, and 31 Weitek 1167 registers */
// OBSOLETE
#undef REGISTER_BYTES // OBSOLETE #undef REGISTER_BYTES
#define REGISTER_BYTES ((10 * 4) + (8 * 10) + (31 * 4)) // OBSOLETE #define REGISTER_BYTES ((10 * 4) + (8 * 10) + (31 * 4))
// OBSOLETE
/* Largest value REGISTER_RAW_SIZE can have. */ // OBSOLETE /* Largest value REGISTER_RAW_SIZE can have. */
// OBSOLETE
#undef DEPRECATED_MAX_REGISTER_RAW_SIZE // OBSOLETE #undef DEPRECATED_MAX_REGISTER_RAW_SIZE
#define DEPRECATED_MAX_REGISTER_RAW_SIZE 10 // OBSOLETE #define DEPRECATED_MAX_REGISTER_RAW_SIZE 10
// OBSOLETE
/* Nonzero if register N requires conversion // OBSOLETE /* Nonzero if register N requires conversion
from raw format to virtual format. */ // OBSOLETE from raw format to virtual format. */
// OBSOLETE
#undef REGISTER_CONVERTIBLE // OBSOLETE #undef REGISTER_CONVERTIBLE
#define REGISTER_CONVERTIBLE(N) \ // OBSOLETE #define REGISTER_CONVERTIBLE(N) \
((N < ST0_REGNUM) ? 0 : \ // OBSOLETE ((N < ST0_REGNUM) ? 0 : \
(N < FP1_REGNUM) ? 1 : \ // OBSOLETE (N < FP1_REGNUM) ? 1 : \
0) // OBSOLETE 0)
// OBSOLETE
/* Convert data from raw format for register REGNUM // OBSOLETE /* Convert data from raw format for register REGNUM
to virtual format for register REGNUM. */ // OBSOLETE to virtual format for register REGNUM. */
extern const struct floatformat floatformat_i387_ext; /* from floatformat.h */ // OBSOLETE extern const struct floatformat floatformat_i387_ext; /* from floatformat.h */
// OBSOLETE
#undef REGISTER_CONVERT_TO_VIRTUAL // OBSOLETE #undef REGISTER_CONVERT_TO_VIRTUAL
#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \ // OBSOLETE #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \
((REGNUM < ST0_REGNUM) ? (void)memcpy ((TO), (FROM), 4) : \ // OBSOLETE ((REGNUM < ST0_REGNUM) ? (void)memcpy ((TO), (FROM), 4) : \
(REGNUM < FP1_REGNUM) ? (void)floatformat_to_double(&floatformat_i387_ext, \ // OBSOLETE (REGNUM < FP1_REGNUM) ? (void)floatformat_to_double(&floatformat_i387_ext, \
(FROM),(TO)) : \ // OBSOLETE (FROM),(TO)) : \
(void)memcpy ((TO), (FROM), 4)) // OBSOLETE (void)memcpy ((TO), (FROM), 4))
// OBSOLETE
/* Convert data from virtual format for register REGNUM // OBSOLETE /* Convert data from virtual format for register REGNUM
to raw format for register REGNUM. */ // OBSOLETE to raw format for register REGNUM. */
// OBSOLETE
#undef REGISTER_CONVERT_TO_RAW // OBSOLETE #undef REGISTER_CONVERT_TO_RAW
#define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \ // OBSOLETE #define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \
((REGNUM < ST0_REGNUM) ? (void)memcpy ((TO), (FROM), 4) : \ // OBSOLETE ((REGNUM < ST0_REGNUM) ? (void)memcpy ((TO), (FROM), 4) : \
(REGNUM < FP1_REGNUM) ? (void)floatformat_from_double(&floatformat_i387_ext, \ // OBSOLETE (REGNUM < FP1_REGNUM) ? (void)floatformat_from_double(&floatformat_i387_ext, \
(FROM),(TO)) : \ // OBSOLETE (FROM),(TO)) : \
(void)memcpy ((TO), (FROM), 4)) // OBSOLETE (void)memcpy ((TO), (FROM), 4))
// OBSOLETE
/* Return the GDB type object for the "standard" data type // OBSOLETE /* Return the GDB type object for the "standard" data type
of data in register N. */ // OBSOLETE of data in register N. */
/* // OBSOLETE /*
* Note: the 1167 registers (the last line, builtin_type_float) are // OBSOLETE * Note: the 1167 registers (the last line, builtin_type_float) are
* generally used in pairs, with each pair being treated as a double. // OBSOLETE * generally used in pairs, with each pair being treated as a double.
* It it also possible to use them singly as floats. I'm not sure how // OBSOLETE * It it also possible to use them singly as floats. I'm not sure how
* in gdb to treat the register pair pseudo-doubles. -fubar // OBSOLETE * in gdb to treat the register pair pseudo-doubles. -fubar
*/ // OBSOLETE */
#undef REGISTER_VIRTUAL_TYPE // OBSOLETE #undef REGISTER_VIRTUAL_TYPE
#define REGISTER_VIRTUAL_TYPE(N) \ // OBSOLETE #define REGISTER_VIRTUAL_TYPE(N) \
((N < ST0_REGNUM) ? builtin_type_int : \ // OBSOLETE ((N < ST0_REGNUM) ? builtin_type_int : \
(N < FP1_REGNUM) ? builtin_type_double : \ // OBSOLETE (N < FP1_REGNUM) ? builtin_type_double : \
builtin_type_float) // OBSOLETE builtin_type_float)
// OBSOLETE
/* Extract from an array REGBUF containing the (raw) register state // OBSOLETE /* Extract from an array REGBUF containing the (raw) register state
a function return value of type TYPE, and copy that, in virtual format, // OBSOLETE a function return value of type TYPE, and copy that, in virtual format,
into VALBUF. */ // OBSOLETE into VALBUF. */
// OBSOLETE
#undef DEPRECATED_EXTRACT_RETURN_VALUE // OBSOLETE #undef DEPRECATED_EXTRACT_RETURN_VALUE
#define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ // OBSOLETE #define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \
symmetry_extract_return_value(TYPE, REGBUF, VALBUF) // OBSOLETE symmetry_extract_return_value(TYPE, REGBUF, VALBUF)
// OBSOLETE
#endif /* ifndef TM_PTX_H */ // OBSOLETE #endif /* ifndef TM_PTX_H */

View file

@ -1,26 +1,26 @@
/* Target machine definitions for GDB on a Sequent Symmetry under ptx // OBSOLETE /* Target machine definitions for GDB on a Sequent Symmetry under ptx
with Weitek 1167 and i387 support. // OBSOLETE with Weitek 1167 and i387 support.
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994 // OBSOLETE Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994
Free Software Foundation, Inc. // OBSOLETE Free Software Foundation, Inc.
Symmetry version by Jay Vosburgh (fubar@sequent.com). // OBSOLETE Symmetry version by Jay Vosburgh (fubar@sequent.com).
// 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 SEQUENT_PTX4 // OBSOLETE #define SEQUENT_PTX4
// OBSOLETE
#include "i386/tm-ptx.h" // OBSOLETE #include "i386/tm-ptx.h"

View file

@ -1,291 +1,291 @@
/* Target machine definitions for GDB on a Sequent Symmetry under dynix 3.0, // OBSOLETE /* Target machine definitions for GDB on a Sequent Symmetry under dynix 3.0,
with Weitek 1167 and i387 support. // OBSOLETE with Weitek 1167 and i387 support.
// OBSOLETE
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 2003 Free // OBSOLETE Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 2003 Free
Software Foundation, Inc. // OBSOLETE Software Foundation, Inc.
// OBSOLETE
Symmetry version by Jay Vosburgh (fubar@sequent.com). // OBSOLETE Symmetry version by Jay Vosburgh (fubar@sequent.com).
// 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 TM_SYMMETRY_H // OBSOLETE #ifndef TM_SYMMETRY_H
#define TM_SYMMETRY_H 1 // OBSOLETE #define TM_SYMMETRY_H 1
// OBSOLETE
#include "regcache.h" // OBSOLETE #include "regcache.h"
#include "doublest.h" // OBSOLETE #include "doublest.h"
// OBSOLETE
/* I don't know if this will work for cross-debugging, even if you do get // OBSOLETE /* I don't know if this will work for cross-debugging, even if you do get
a copy of the right include file. */ // OBSOLETE a copy of the right include file. */
#include <machine/reg.h> // OBSOLETE #include <machine/reg.h>
// OBSOLETE
#include "i386/tm-i386.h" // OBSOLETE #include "i386/tm-i386.h"
// OBSOLETE
/* Amount PC must be decremented by after a breakpoint. This is often the // OBSOLETE /* Amount PC must be decremented by after a breakpoint. This is often the
number of bytes in BREAKPOINT but not always (such as now). */ // OBSOLETE number of bytes in BREAKPOINT but not always (such as now). */
// OBSOLETE
#undef DECR_PC_AFTER_BREAK // OBSOLETE #undef DECR_PC_AFTER_BREAK
#define DECR_PC_AFTER_BREAK 0 // OBSOLETE #define DECR_PC_AFTER_BREAK 0
// OBSOLETE
/* Number of machine registers */ // OBSOLETE /* Number of machine registers */
// OBSOLETE
#undef NUM_REGS // OBSOLETE #undef NUM_REGS
#define NUM_REGS 49 // OBSOLETE #define NUM_REGS 49
// OBSOLETE
/* Initializer for an array of names of registers. // OBSOLETE /* Initializer for an array of names of registers.
There should be NUM_REGS strings in this initializer. */ // OBSOLETE There should be NUM_REGS strings in this initializer. */
// OBSOLETE
/* Initializer for an array of names of registers. There should be at least // OBSOLETE /* Initializer for an array of names of registers. There should be at least
NUM_REGS strings in this initializer. Any excess ones are simply ignored. // OBSOLETE NUM_REGS strings in this initializer. Any excess ones are simply ignored.
Symmetry registers are in this weird order to match the register numbers // OBSOLETE Symmetry registers are in this weird order to match the register numbers
in the symbol table entries. If you change the order, things will probably // OBSOLETE in the symbol table entries. If you change the order, things will probably
break mysteriously for no apparent reason. Also note that the st(0)... // OBSOLETE break mysteriously for no apparent reason. Also note that the st(0)...
st(7) 387 registers are represented as st0...st7. */ // OBSOLETE st(7) 387 registers are represented as st0...st7. */
// OBSOLETE
#undef REGISTER_NAME // OBSOLETE #undef REGISTER_NAME
#define REGISTER_NAMES { "eax", "edx", "ecx", "st0", "st1", \ // OBSOLETE #define REGISTER_NAMES { "eax", "edx", "ecx", "st0", "st1", \
"ebx", "esi", "edi", "st2", "st3", \ // OBSOLETE "ebx", "esi", "edi", "st2", "st3", \
"st4", "st5", "st6", "st7", "esp", \ // OBSOLETE "st4", "st5", "st6", "st7", "esp", \
"ebp", "eip", "eflags","fp1", "fp2", \ // OBSOLETE "ebp", "eip", "eflags","fp1", "fp2", \
"fp3", "fp4", "fp5", "fp6", "fp7", \ // OBSOLETE "fp3", "fp4", "fp5", "fp6", "fp7", \
"fp8", "fp9", "fp10", "fp11", "fp12", \ // OBSOLETE "fp8", "fp9", "fp10", "fp11", "fp12", \
"fp13", "fp14", "fp15", "fp16", "fp17", \ // OBSOLETE "fp13", "fp14", "fp15", "fp16", "fp17", \
"fp18", "fp19", "fp20", "fp21", "fp22", \ // OBSOLETE "fp18", "fp19", "fp20", "fp21", "fp22", \
"fp23", "fp24", "fp25", "fp26", "fp27", \ // OBSOLETE "fp23", "fp24", "fp25", "fp26", "fp27", \
"fp28", "fp29", "fp30", "fp31" } // OBSOLETE "fp28", "fp29", "fp30", "fp31" }
// OBSOLETE
/* Register numbers of various important registers. // OBSOLETE /* Register numbers of various important registers.
Note that some of these values are "real" register numbers, // OBSOLETE Note that some of these values are "real" register numbers,
and correspond to the general registers of the machine, // OBSOLETE and correspond to the general registers of the machine,
and some are "phony" register numbers which are too large // OBSOLETE and some are "phony" register numbers which are too large
to be actual register numbers as far as the user is concerned // OBSOLETE to be actual register numbers as far as the user is concerned
but do serve to get the desired values when passed to read_register. */ // OBSOLETE but do serve to get the desired values when passed to read_register. */
// OBSOLETE
#define EAX_REGNUM 0 // OBSOLETE #define EAX_REGNUM 0
#define EDX_REGNUM 1 // OBSOLETE #define EDX_REGNUM 1
#define ECX_REGNUM 2 // OBSOLETE #define ECX_REGNUM 2
#define ST0_REGNUM 3 // OBSOLETE #define ST0_REGNUM 3
#define ST1_REGNUM 4 // OBSOLETE #define ST1_REGNUM 4
#define EBX_REGNUM 5 // OBSOLETE #define EBX_REGNUM 5
#define ESI_REGNUM 6 // OBSOLETE #define ESI_REGNUM 6
#define EDI_REGNUM 7 // OBSOLETE #define EDI_REGNUM 7
#define ST2_REGNUM 8 // OBSOLETE #define ST2_REGNUM 8
#define ST3_REGNUM 9 // OBSOLETE #define ST3_REGNUM 9
// OBSOLETE
#define ST4_REGNUM 10 // OBSOLETE #define ST4_REGNUM 10
#define ST5_REGNUM 11 // OBSOLETE #define ST5_REGNUM 11
#define ST6_REGNUM 12 // OBSOLETE #define ST6_REGNUM 12
#define ST7_REGNUM 13 // OBSOLETE #define ST7_REGNUM 13
// OBSOLETE
#define FP1_REGNUM 18 /* first 1167 register */ // OBSOLETE #define FP1_REGNUM 18 /* first 1167 register */
/* Get %fp2 - %fp31 by addition, since they are contiguous */ // OBSOLETE /* Get %fp2 - %fp31 by addition, since they are contiguous */
// OBSOLETE
#undef SP_REGNUM // OBSOLETE #undef SP_REGNUM
#define SP_REGNUM 14 /* (usp) Contains address of top of stack */ // OBSOLETE #define SP_REGNUM 14 /* (usp) Contains address of top of stack */
#define ESP_REGNUM 14 // OBSOLETE #define ESP_REGNUM 14
#undef FP_REGNUM // OBSOLETE #undef FP_REGNUM
#define FP_REGNUM 15 /* (ebp) Contains address of executing stack frame */ // OBSOLETE #define FP_REGNUM 15 /* (ebp) Contains address of executing stack frame */
#define EBP_REGNUM 15 // OBSOLETE #define EBP_REGNUM 15
#undef PC_REGNUM // OBSOLETE #undef PC_REGNUM
#define PC_REGNUM 16 /* (eip) Contains program counter */ // OBSOLETE #define PC_REGNUM 16 /* (eip) Contains program counter */
#define EIP_REGNUM 16 // OBSOLETE #define EIP_REGNUM 16
#undef PS_REGNUM // OBSOLETE #undef PS_REGNUM
#define PS_REGNUM 17 /* (ps) Contains processor status */ // OBSOLETE #define PS_REGNUM 17 /* (ps) Contains processor status */
#define EFLAGS_REGNUM 17 // OBSOLETE #define EFLAGS_REGNUM 17
// OBSOLETE
/* // OBSOLETE /*
* Following macro translates i386 opcode register numbers to Symmetry // OBSOLETE * Following macro translates i386 opcode register numbers to Symmetry
* register numbers. This is used by i386_frame_find_saved_regs. // OBSOLETE * register numbers. This is used by i386_frame_find_saved_regs.
* // OBSOLETE *
* %eax %ecx %edx %ebx %esp %ebp %esi %edi // OBSOLETE * %eax %ecx %edx %ebx %esp %ebp %esi %edi
* i386 0 1 2 3 4 5 6 7 // OBSOLETE * i386 0 1 2 3 4 5 6 7
* Symmetry 0 2 1 5 14 15 6 7 // OBSOLETE * Symmetry 0 2 1 5 14 15 6 7
* // OBSOLETE *
*/ // OBSOLETE */
#define I386_REGNO_TO_SYMMETRY(n) \ // OBSOLETE #define I386_REGNO_TO_SYMMETRY(n) \
((n)==0?0 :(n)==1?2 :(n)==2?1 :(n)==3?5 :(n)==4?14 :(n)==5?15 :(n)) // OBSOLETE ((n)==0?0 :(n)==1?2 :(n)==2?1 :(n)==3?5 :(n)==4?14 :(n)==5?15 :(n))
// OBSOLETE
/* The magic numbers below are offsets into u_ar0 in the user struct. // OBSOLETE /* The magic numbers below are offsets into u_ar0 in the user struct.
* They live in <machine/reg.h>. Gdb calls this macro with blockend // OBSOLETE * They live in <machine/reg.h>. Gdb calls this macro with blockend
* holding u.u_ar0 - KERNEL_U_ADDR. Only the registers listed are // OBSOLETE * holding u.u_ar0 - KERNEL_U_ADDR. Only the registers listed are
* saved in the u area (along with a few others that aren't useful // OBSOLETE * saved in the u area (along with a few others that aren't useful
* here. See <machine/reg.h>). // OBSOLETE * here. See <machine/reg.h>).
*/ // OBSOLETE */
// OBSOLETE
#define REGISTER_U_ADDR(addr, blockend, regno) \ // OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \
{ struct user foo; /* needed for finding fpu regs */ \ // OBSOLETE { struct user foo; /* needed for finding fpu regs */ \
switch (regno) { \ // OBSOLETE switch (regno) { \
case 0: \ // OBSOLETE case 0: \
addr = blockend + EAX * sizeof(int); break; \ // OBSOLETE addr = blockend + EAX * sizeof(int); break; \
case 1: \ // OBSOLETE case 1: \
addr = blockend + EDX * sizeof(int); break; \ // OBSOLETE addr = blockend + EDX * sizeof(int); break; \
case 2: \ // OBSOLETE case 2: \
addr = blockend + ECX * sizeof(int); break; \ // OBSOLETE addr = blockend + ECX * sizeof(int); break; \
case 3: /* st(0) */ \ // OBSOLETE case 3: /* st(0) */ \
addr = ((int)&foo.u_fpusave.fpu_stack[0][0] - (int)&foo); \ // OBSOLETE addr = ((int)&foo.u_fpusave.fpu_stack[0][0] - (int)&foo); \
break; \ // OBSOLETE break; \
case 4: /* st(1) */ \ // OBSOLETE case 4: /* st(1) */ \
addr = ((int) &foo.u_fpusave.fpu_stack[1][0] - (int)&foo); \ // OBSOLETE addr = ((int) &foo.u_fpusave.fpu_stack[1][0] - (int)&foo); \
break; \ // OBSOLETE break; \
case 5: \ // OBSOLETE case 5: \
addr = blockend + EBX * sizeof(int); break; \ // OBSOLETE addr = blockend + EBX * sizeof(int); break; \
case 6: \ // OBSOLETE case 6: \
addr = blockend + ESI * sizeof(int); break; \ // OBSOLETE addr = blockend + ESI * sizeof(int); break; \
case 7: \ // OBSOLETE case 7: \
addr = blockend + EDI * sizeof(int); break; \ // OBSOLETE addr = blockend + EDI * sizeof(int); break; \
case 8: /* st(2) */ \ // OBSOLETE case 8: /* st(2) */ \
addr = ((int) &foo.u_fpusave.fpu_stack[2][0] - (int)&foo); \ // OBSOLETE addr = ((int) &foo.u_fpusave.fpu_stack[2][0] - (int)&foo); \
break; \ // OBSOLETE break; \
case 9: /* st(3) */ \ // OBSOLETE case 9: /* st(3) */ \
addr = ((int) &foo.u_fpusave.fpu_stack[3][0] - (int)&foo); \ // OBSOLETE addr = ((int) &foo.u_fpusave.fpu_stack[3][0] - (int)&foo); \
break; \ // OBSOLETE break; \
case 10: /* st(4) */ \ // OBSOLETE case 10: /* st(4) */ \
addr = ((int) &foo.u_fpusave.fpu_stack[4][0] - (int)&foo); \ // OBSOLETE addr = ((int) &foo.u_fpusave.fpu_stack[4][0] - (int)&foo); \
break; \ // OBSOLETE break; \
case 11: /* st(5) */ \ // OBSOLETE case 11: /* st(5) */ \
addr = ((int) &foo.u_fpusave.fpu_stack[5][0] - (int)&foo); \ // OBSOLETE addr = ((int) &foo.u_fpusave.fpu_stack[5][0] - (int)&foo); \
break; \ // OBSOLETE break; \
case 12: /* st(6) */ \ // OBSOLETE case 12: /* st(6) */ \
addr = ((int) &foo.u_fpusave.fpu_stack[6][0] - (int)&foo); \ // OBSOLETE addr = ((int) &foo.u_fpusave.fpu_stack[6][0] - (int)&foo); \
break; \ // OBSOLETE break; \
case 13: /* st(7) */ \ // OBSOLETE case 13: /* st(7) */ \
addr = ((int) &foo.u_fpusave.fpu_stack[7][0] - (int)&foo); \ // OBSOLETE addr = ((int) &foo.u_fpusave.fpu_stack[7][0] - (int)&foo); \
break; \ // OBSOLETE break; \
case 14: \ // OBSOLETE case 14: \
addr = blockend + ESP * sizeof(int); break; \ // OBSOLETE addr = blockend + ESP * sizeof(int); break; \
case 15: \ // OBSOLETE case 15: \
addr = blockend + EBP * sizeof(int); break; \ // OBSOLETE addr = blockend + EBP * sizeof(int); break; \
case 16: \ // OBSOLETE case 16: \
addr = blockend + EIP * sizeof(int); break; \ // OBSOLETE addr = blockend + EIP * sizeof(int); break; \
case 17: \ // OBSOLETE case 17: \
addr = blockend + FLAGS * sizeof(int); break; \ // OBSOLETE addr = blockend + FLAGS * sizeof(int); break; \
case 18: /* fp1 */ \ // OBSOLETE case 18: /* fp1 */ \
case 19: /* fp2 */ \ // OBSOLETE case 19: /* fp2 */ \
case 20: /* fp3 */ \ // OBSOLETE case 20: /* fp3 */ \
case 21: /* fp4 */ \ // OBSOLETE case 21: /* fp4 */ \
case 22: /* fp5 */ \ // OBSOLETE case 22: /* fp5 */ \
case 23: /* fp6 */ \ // OBSOLETE case 23: /* fp6 */ \
case 24: /* fp7 */ \ // OBSOLETE case 24: /* fp7 */ \
case 25: /* fp8 */ \ // OBSOLETE case 25: /* fp8 */ \
case 26: /* fp9 */ \ // OBSOLETE case 26: /* fp9 */ \
case 27: /* fp10 */ \ // OBSOLETE case 27: /* fp10 */ \
case 28: /* fp11 */ \ // OBSOLETE case 28: /* fp11 */ \
case 29: /* fp12 */ \ // OBSOLETE case 29: /* fp12 */ \
case 30: /* fp13 */ \ // OBSOLETE case 30: /* fp13 */ \
case 31: /* fp14 */ \ // OBSOLETE case 31: /* fp14 */ \
case 32: /* fp15 */ \ // OBSOLETE case 32: /* fp15 */ \
case 33: /* fp16 */ \ // OBSOLETE case 33: /* fp16 */ \
case 34: /* fp17 */ \ // OBSOLETE case 34: /* fp17 */ \
case 35: /* fp18 */ \ // OBSOLETE case 35: /* fp18 */ \
case 36: /* fp19 */ \ // OBSOLETE case 36: /* fp19 */ \
case 37: /* fp20 */ \ // OBSOLETE case 37: /* fp20 */ \
case 38: /* fp21 */ \ // OBSOLETE case 38: /* fp21 */ \
case 39: /* fp22 */ \ // OBSOLETE case 39: /* fp22 */ \
case 40: /* fp23 */ \ // OBSOLETE case 40: /* fp23 */ \
case 41: /* fp24 */ \ // OBSOLETE case 41: /* fp24 */ \
case 42: /* fp25 */ \ // OBSOLETE case 42: /* fp25 */ \
case 43: /* fp26 */ \ // OBSOLETE case 43: /* fp26 */ \
case 44: /* fp27 */ \ // OBSOLETE case 44: /* fp27 */ \
case 45: /* fp28 */ \ // OBSOLETE case 45: /* fp28 */ \
case 46: /* fp29 */ \ // OBSOLETE case 46: /* fp29 */ \
case 47: /* fp30 */ \ // OBSOLETE case 47: /* fp30 */ \
case 48: /* fp31 */ \ // OBSOLETE case 48: /* fp31 */ \
addr = ((int) &foo.u_fpasave.fpa_regs[(regno)-18] - (int)&foo); \ // OBSOLETE addr = ((int) &foo.u_fpasave.fpa_regs[(regno)-18] - (int)&foo); \
} \ // OBSOLETE } \
} // OBSOLETE }
// OBSOLETE
/* Total amount of space needed to store our copies of the machine's // OBSOLETE /* Total amount of space needed to store our copies of the machine's
register state, the array `registers'. 10 i*86 registers, 8 i387 // OBSOLETE register state, the array `registers'. 10 i*86 registers, 8 i387
registers, and 31 Weitek 1167 registers */ // OBSOLETE registers, and 31 Weitek 1167 registers */
// OBSOLETE
#undef REGISTER_BYTES // OBSOLETE #undef REGISTER_BYTES
#define REGISTER_BYTES ((10 * 4) + (8 * 10) + (31 * 4)) // OBSOLETE #define REGISTER_BYTES ((10 * 4) + (8 * 10) + (31 * 4))
// OBSOLETE
/* Nonzero if register N requires conversion // OBSOLETE /* Nonzero if register N requires conversion
from raw format to virtual format. */ // OBSOLETE from raw format to virtual format. */
// OBSOLETE
#undef REGISTER_CONVERTIBLE // OBSOLETE #undef REGISTER_CONVERTIBLE
#define REGISTER_CONVERTIBLE(N) \ // OBSOLETE #define REGISTER_CONVERTIBLE(N) \
(((N) < 3) ? 0 : \ // OBSOLETE (((N) < 3) ? 0 : \
((N) < 5) ? 1 : \ // OBSOLETE ((N) < 5) ? 1 : \
((N) < 8) ? 0 : \ // OBSOLETE ((N) < 8) ? 0 : \
((N) < 14) ? 1 : \ // OBSOLETE ((N) < 14) ? 1 : \
0) // OBSOLETE 0)
// OBSOLETE
#include "floatformat.h" // OBSOLETE #include "floatformat.h"
// OBSOLETE
/* Convert data from raw format for register REGNUM in buffer FROM // OBSOLETE /* Convert data from raw format for register REGNUM in buffer FROM
to virtual format with type TYPE in buffer TO. */ // OBSOLETE to virtual format with type TYPE in buffer TO. */
// OBSOLETE
#undef REGISTER_CONVERT_TO_VIRTUAL // OBSOLETE #undef REGISTER_CONVERT_TO_VIRTUAL
#define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \ // OBSOLETE #define REGISTER_CONVERT_TO_VIRTUAL(REGNUM,TYPE,FROM,TO) \
{ \ // OBSOLETE { \
DOUBLEST val; \ // OBSOLETE DOUBLEST val; \
floatformat_to_doublest (&floatformat_i387_ext, (FROM), &val); \ // OBSOLETE floatformat_to_doublest (&floatformat_i387_ext, (FROM), &val); \
deprecated_store_floating ((TO), TYPE_LENGTH (TYPE), val); \ // OBSOLETE deprecated_store_floating ((TO), TYPE_LENGTH (TYPE), val); \
} // OBSOLETE }
// OBSOLETE
/* Convert data from virtual format with type TYPE in buffer FROM // OBSOLETE /* Convert data from virtual format with type TYPE in buffer FROM
to raw format for register REGNUM in buffer TO. */ // OBSOLETE to raw format for register REGNUM in buffer TO. */
// OBSOLETE
#undef REGISTER_CONVERT_TO_RAW // OBSOLETE #undef REGISTER_CONVERT_TO_RAW
#define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \ // OBSOLETE #define REGISTER_CONVERT_TO_RAW(TYPE,REGNUM,FROM,TO) \
{ \ // OBSOLETE { \
DOUBLEST val = deprecated_extract_floating ((FROM), TYPE_LENGTH (TYPE)); \ // OBSOLETE DOUBLEST val = deprecated_extract_floating ((FROM), TYPE_LENGTH (TYPE)); \
floatformat_from_doublest (&floatformat_i387_ext, &val, (TO)); \ // OBSOLETE floatformat_from_doublest (&floatformat_i387_ext, &val, (TO)); \
} // OBSOLETE }
// OBSOLETE
/* Return the GDB type object for the "standard" data type // OBSOLETE /* Return the GDB type object for the "standard" data type
of data in register N. */ // OBSOLETE of data in register N. */
// OBSOLETE
#undef REGISTER_VIRTUAL_TYPE // OBSOLETE #undef REGISTER_VIRTUAL_TYPE
#define REGISTER_VIRTUAL_TYPE(N) \ // OBSOLETE #define REGISTER_VIRTUAL_TYPE(N) \
((N < 3) ? builtin_type_int : \ // OBSOLETE ((N < 3) ? builtin_type_int : \
(N < 5) ? builtin_type_double : \ // OBSOLETE (N < 5) ? builtin_type_double : \
(N < 8) ? builtin_type_int : \ // OBSOLETE (N < 8) ? builtin_type_int : \
(N < 14) ? builtin_type_double : \ // OBSOLETE (N < 14) ? builtin_type_double : \
builtin_type_int) // OBSOLETE builtin_type_int)
// OBSOLETE
/* Store the address of the place in which to copy the structure the // OBSOLETE /* Store the address of the place in which to copy the structure the
subroutine will return. This is called from call_function. // OBSOLETE subroutine will return. This is called from call_function.
Native cc passes the address in eax, gcc (up to version 2.5.8) // OBSOLETE Native cc passes the address in eax, gcc (up to version 2.5.8)
passes it on the stack. gcc should be fixed in future versions to // OBSOLETE passes it on the stack. gcc should be fixed in future versions to
adopt native cc conventions. */ // OBSOLETE adopt native cc conventions. */
// OBSOLETE
#undef DEPRECATED_PUSH_ARGUMENTS // OBSOLETE #undef DEPRECATED_PUSH_ARGUMENTS
#undef STORE_STRUCT_RETURN // OBSOLETE #undef STORE_STRUCT_RETURN
#define STORE_STRUCT_RETURN(ADDR, SP) write_register(0, (ADDR)) // OBSOLETE #define STORE_STRUCT_RETURN(ADDR, SP) write_register(0, (ADDR))
// OBSOLETE
/* Extract from an array REGBUF containing the (raw) register state // OBSOLETE /* Extract from an array REGBUF containing the (raw) register state
a function return value of type TYPE, and copy that, in virtual format, // OBSOLETE a function return value of type TYPE, and copy that, in virtual format,
into VALBUF. */ // OBSOLETE into VALBUF. */
// OBSOLETE
#undef DEPRECATED_EXTRACT_RETURN_VALUE // OBSOLETE #undef DEPRECATED_EXTRACT_RETURN_VALUE
#define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ // OBSOLETE #define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \
symmetry_extract_return_value(TYPE, REGBUF, VALBUF) // OBSOLETE symmetry_extract_return_value(TYPE, REGBUF, VALBUF)
// OBSOLETE
/* The following redefines make backtracing through sigtramp work. // OBSOLETE /* The following redefines make backtracing through sigtramp work.
They manufacture a fake sigtramp frame and obtain the saved pc in sigtramp // OBSOLETE They manufacture a fake sigtramp frame and obtain the saved pc in sigtramp
from the sigcontext structure which is pushed by the kernel on the // OBSOLETE from the sigcontext structure which is pushed by the kernel on the
user stack, along with a pointer to it. */ // OBSOLETE user stack, along with a pointer to it. */
// OBSOLETE
#define IN_SIGTRAMP(pc, name) ((name) && STREQ ("_sigcode", name)) // OBSOLETE #define IN_SIGTRAMP(pc, name) ((name) && STREQ ("_sigcode", name))
// OBSOLETE
/* Offset to saved PC in sigcontext, from <signal.h>. */ // OBSOLETE /* Offset to saved PC in sigcontext, from <signal.h>. */
#define SIGCONTEXT_PC_OFFSET 16 // OBSOLETE #define SIGCONTEXT_PC_OFFSET 16
// OBSOLETE
#endif /* ifndef TM_SYMMETRY_H */ // OBSOLETE #endif /* ifndef TM_SYMMETRY_H */

View file

@ -1,38 +1,38 @@
/* Definitions to make GDB run on a Sequent Symmetry under ptx, with // OBSOLETE /* Definitions to make GDB run on a Sequent Symmetry under ptx, with
Weitek 1167 and i387 support. // OBSOLETE Weitek 1167 and i387 support.
Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995 // OBSOLETE Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995
Free Software Foundation, Inc. // OBSOLETE 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
/* Symmetry version by Jay Vosburgh (fubar@sequent.com) */ // OBSOLETE /* Symmetry version by Jay Vosburgh (fubar@sequent.com) */
// OBSOLETE
#ifdef _SEQUENT_PTX4_ // OBSOLETE #ifdef _SEQUENT_PTX4_
#include "config/xm-sysv4.h" // OBSOLETE #include "config/xm-sysv4.h"
#endif /* _SEQUENT_PTX4_ */ // OBSOLETE #endif /* _SEQUENT_PTX4_ */
// OBSOLETE
/* This machine doesn't have the siginterrupt call. */ // OBSOLETE /* This machine doesn't have the siginterrupt call. */
#define NO_SIGINTERRUPT // OBSOLETE #define NO_SIGINTERRUPT
// OBSOLETE
#define HAVE_WAIT_STRUCT // OBSOLETE #define HAVE_WAIT_STRUCT
// OBSOLETE
#undef HAVE_TERMIO // OBSOLETE #undef HAVE_TERMIO
#define HAVE_TERMIOS // OBSOLETE #define HAVE_TERMIOS
#define USG // OBSOLETE #define USG
// OBSOLETE
#define USE_O_NOCTTY // OBSOLETE #define USE_O_NOCTTY

View file

@ -1,27 +1,27 @@
/* Definitions to make GDB run on a Sequent Symmetry under ptx, with // OBSOLETE /* Definitions to make GDB run on a Sequent Symmetry under ptx, with
Weitek 1167 and i387 support. // OBSOLETE Weitek 1167 and i387 support.
Copyright 1986, 1987, 1989, 1992, 1993, 1994 // OBSOLETE Copyright 1986, 1987, 1989, 1992, 1993, 1994
Free Software Foundation, Inc. // OBSOLETE 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
/* Symmetry version by Jay Vosburgh (fubar@sequent.com) */ // OBSOLETE /* Symmetry version by Jay Vosburgh (fubar@sequent.com) */
// OBSOLETE
#include "config/xm-sysv4.h" // OBSOLETE #include "config/xm-sysv4.h"
// OBSOLETE
#include "i386/xm-ptx.h" // OBSOLETE #include "i386/xm-ptx.h"

View file

@ -1,28 +1,28 @@
/* Definitions to make GDB run on a Sequent Symmetry under // OBSOLETE /* Definitions to make GDB run on a Sequent Symmetry under
dynix 3.1, with Weitek 1167 and i387 support. // OBSOLETE dynix 3.1, with Weitek 1167 and i387 support.
Copyright 1986, 1987, 1989, 1992, 1993, 1994 // OBSOLETE Copyright 1986, 1987, 1989, 1992, 1993, 1994
Free Software Foundation, Inc. // OBSOLETE 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
/* Symmetry version by Jay Vosburgh (fubar@sequent.com) */ // OBSOLETE /* Symmetry version by Jay Vosburgh (fubar@sequent.com) */
// OBSOLETE
/* This machine doesn't have the siginterrupt call. */ // OBSOLETE /* This machine doesn't have the siginterrupt call. */
#define NO_SIGINTERRUPT // OBSOLETE #define NO_SIGINTERRUPT
// OBSOLETE
#define HAVE_WAIT_STRUCT // OBSOLETE #define HAVE_WAIT_STRUCT

View file

@ -49,9 +49,9 @@ hppa*-*-hpux*) gdb_host=hppahpux ;;
# OBSOLETE hppa*-*-osf*) gdb_host=hppaosf ;; # OBSOLETE hppa*-*-osf*) gdb_host=hppaosf ;;
i[3456]86-ncr-*) gdb_host=ncr3000 ;; i[3456]86-ncr-*) gdb_host=ncr3000 ;;
i[3456]86-sequent-bsd*) gdb_host=symmetry ;; # dynix # OBSOLETE i[3456]86-sequent-bsd*) gdb_host=symmetry ;; # dynix
i[3456]86-sequent-sysv4*) gdb_host=ptx4 ;; # OBSOLETE i[3456]86-sequent-sysv4*) gdb_host=ptx4 ;;
i[3456]86-sequent-sysv*) gdb_host=ptx ;; # OBSOLETE i[3456]86-sequent-sysv*) gdb_host=ptx ;;
i[3456]86-*-bsd*) gdb_host=i386bsd ;; i[3456]86-*-bsd*) gdb_host=i386bsd ;;
i[3456]86-*-dgux*) gdb_host=i386v4 ;; i[3456]86-*-dgux*) gdb_host=i386v4 ;;
i[3456]86-*-freebsd*) gdb_host=fbsd ;; i[3456]86-*-freebsd*) gdb_host=fbsd ;;

View file

@ -81,9 +81,9 @@ hppa*-*-hiux*) gdb_target=hppahpux ;;
# OBSOLETE hppa*-*-osf*) gdb_target=hppaosf ;; # OBSOLETE hppa*-*-osf*) gdb_target=hppaosf ;;
hppa*-*-*) gdb_target=hppa ;; hppa*-*-*) gdb_target=hppa ;;
i[3456]86-sequent-bsd*) gdb_target=symmetry ;; # OBSOLETE i[3456]86-sequent-bsd*) gdb_target=symmetry ;;
i[3456]86-sequent-sysv4*) gdb_target=ptx4 ;; # OBSOLETE i[3456]86-sequent-sysv4*) gdb_target=ptx4 ;;
i[3456]86-sequent-sysv*) gdb_target=ptx ;; # OBSOLETE i[3456]86-sequent-sysv*) gdb_target=ptx ;;
i[3456]86-ncr-*) gdb_target=ncr3000 ;; i[3456]86-ncr-*) gdb_target=ncr3000 ;;
i[3456]86-*-bsd*) gdb_target=i386bsd ;; i[3456]86-*-bsd*) gdb_target=i386bsd ;;
i[3456]86-*-netbsd*) gdb_target=nbsd ;; i[3456]86-*-netbsd*) gdb_target=nbsd ;;

File diff suppressed because it is too large Load diff

View file

@ -1,102 +1,102 @@
/* Sequent Symmetry target interface, for GDB. // OBSOLETE /* Sequent Symmetry target interface, for GDB.
Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 2000 // OBSOLETE Copyright 1986, 1987, 1989, 1991, 1992, 1993, 1994, 1995, 2000
Free Software Foundation, Inc. // OBSOLETE 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
/* many 387-specific items of use taken from i386-dep.c */ // OBSOLETE /* many 387-specific items of use taken from i386-dep.c */
// OBSOLETE
#include "defs.h" // OBSOLETE #include "defs.h"
#include "frame.h" // OBSOLETE #include "frame.h"
#include "inferior.h" // OBSOLETE #include "inferior.h"
#include "symtab.h" // OBSOLETE #include "symtab.h"
// OBSOLETE
#include <signal.h> // OBSOLETE #include <signal.h>
#include <sys/param.h> // OBSOLETE #include <sys/param.h>
#include <sys/user.h> // OBSOLETE #include <sys/user.h>
#include <sys/dir.h> // OBSOLETE #include <sys/dir.h>
#include <sys/ioctl.h> // OBSOLETE #include <sys/ioctl.h>
#include "gdb_stat.h" // OBSOLETE #include "gdb_stat.h"
#include "gdbcore.h" // OBSOLETE #include "gdbcore.h"
#include <fcntl.h> // OBSOLETE #include <fcntl.h>
// OBSOLETE
void // OBSOLETE void
symmetry_extract_return_value (struct type *type, char *regbuf, char *valbuf) // OBSOLETE symmetry_extract_return_value (struct type *type, char *regbuf, char *valbuf)
{ // OBSOLETE {
union // OBSOLETE union
{ // OBSOLETE {
double d; // OBSOLETE double d;
int l[2]; // OBSOLETE int l[2];
} // OBSOLETE }
xd; // OBSOLETE xd;
struct minimal_symbol *msymbol; // OBSOLETE struct minimal_symbol *msymbol;
float f; // OBSOLETE float f;
// OBSOLETE
if (TYPE_CODE_FLT == TYPE_CODE (type)) // OBSOLETE if (TYPE_CODE_FLT == TYPE_CODE (type))
{ // OBSOLETE {
msymbol = lookup_minimal_symbol ("1167_flt", NULL, NULL); // OBSOLETE msymbol = lookup_minimal_symbol ("1167_flt", NULL, NULL);
if (msymbol != NULL) // OBSOLETE if (msymbol != NULL)
{ // OBSOLETE {
/* found "1167_flt" means 1167, %fp2-%fp3 */ // OBSOLETE /* found "1167_flt" means 1167, %fp2-%fp3 */
/* float & double; 19= %fp2, 20= %fp3 */ // OBSOLETE /* float & double; 19= %fp2, 20= %fp3 */
/* no single precision on 1167 */ // OBSOLETE /* no single precision on 1167 */
xd.l[1] = *((int *) &regbuf[REGISTER_BYTE (19)]); // OBSOLETE xd.l[1] = *((int *) &regbuf[REGISTER_BYTE (19)]);
xd.l[0] = *((int *) &regbuf[REGISTER_BYTE (20)]); // OBSOLETE xd.l[0] = *((int *) &regbuf[REGISTER_BYTE (20)]);
switch (TYPE_LENGTH (type)) // OBSOLETE switch (TYPE_LENGTH (type))
{ // OBSOLETE {
case 4: // OBSOLETE case 4:
/* FIXME: broken for cross-debugging. */ // OBSOLETE /* FIXME: broken for cross-debugging. */
f = (float) xd.d; // OBSOLETE f = (float) xd.d;
memcpy (valbuf, &f, TYPE_LENGTH (type)); // OBSOLETE memcpy (valbuf, &f, TYPE_LENGTH (type));
break; // OBSOLETE break;
case 8: // OBSOLETE case 8:
/* FIXME: broken for cross-debugging. */ // OBSOLETE /* FIXME: broken for cross-debugging. */
memcpy (valbuf, &xd.d, TYPE_LENGTH (type)); // OBSOLETE memcpy (valbuf, &xd.d, TYPE_LENGTH (type));
break; // OBSOLETE break;
default: // OBSOLETE default:
error ("Unknown floating point size"); // OBSOLETE error ("Unknown floating point size");
break; // OBSOLETE break;
} // OBSOLETE }
} // OBSOLETE }
else // OBSOLETE else
{ // OBSOLETE {
/* 387 %st(0), gcc uses this */ // OBSOLETE /* 387 %st(0), gcc uses this */
i387_to_double (((int *) &regbuf[REGISTER_BYTE (3)]), // OBSOLETE i387_to_double (((int *) &regbuf[REGISTER_BYTE (3)]),
&xd.d); // OBSOLETE &xd.d);
switch (TYPE_LENGTH (type)) // OBSOLETE switch (TYPE_LENGTH (type))
{ // OBSOLETE {
case 4: /* float */ // OBSOLETE case 4: /* float */
f = (float) xd.d; // OBSOLETE f = (float) xd.d;
/* FIXME: broken for cross-debugging. */ // OBSOLETE /* FIXME: broken for cross-debugging. */
memcpy (valbuf, &f, 4); // OBSOLETE memcpy (valbuf, &f, 4);
break; // OBSOLETE break;
case 8: /* double */ // OBSOLETE case 8: /* double */
/* FIXME: broken for cross-debugging. */ // OBSOLETE /* FIXME: broken for cross-debugging. */
memcpy (valbuf, &xd.d, 8); // OBSOLETE memcpy (valbuf, &xd.d, 8);
break; // OBSOLETE break;
default: // OBSOLETE default:
error ("Unknown floating point size"); // OBSOLETE error ("Unknown floating point size");
break; // OBSOLETE break;
} // OBSOLETE }
} // OBSOLETE }
} // OBSOLETE }
else // OBSOLETE else
{ // OBSOLETE {
memcpy (valbuf, regbuf, TYPE_LENGTH (type)); // OBSOLETE memcpy (valbuf, regbuf, TYPE_LENGTH (type));
} // OBSOLETE }
} // OBSOLETE }