2003-10-06 Andrew Cagney <cagney@redhat.com>

* config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files.
	* config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto.
	* config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto.
	* config/i386/ptx.mt, config/i386/ptx4.mh: Ditto.
	* config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto.
	* config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto.
	* config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto.
	* config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto.
	* config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto.
	* config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto.
	* config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto.
	* config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto.
	* config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto.
	* config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto.
	* config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto.
	* config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto.
	* config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto.
	* config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto.
	* config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto.
	* config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto.
	* config/z8k/z8k.mt: Ditto.
This commit is contained in:
Andrew Cagney 2003-10-06 20:23:41 +00:00
parent 4a8269c0f0
commit a5679ae50d
42 changed files with 22 additions and 2460 deletions

View File

@ -1,5 +1,27 @@
2003-10-06 Andrew Cagney <cagney@redhat.com>
* config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files.
* config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto.
* config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto.
* config/i386/ptx.mt, config/i386/ptx4.mh: Ditto.
* config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto.
* config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto.
* config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto.
* config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto.
* config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto.
* config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto.
* config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto.
* config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto.
* config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto.
* config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto.
* config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto.
* config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto.
* config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto.
* config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto.
* config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto.
* config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto.
* config/z8k/z8k.mt: Ditto.
* NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*,
h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*,
mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*,

View File

@ -1,6 +0,0 @@
# OBSOLETE # Target: H8500 with HMS monitor and H8 simulator
# OBSOLETE TDEPFILES= h8500-tdep.o monitor.o remote-hms.o dsrec.o
# OBSOLETE TM_FILE= tm-h8500.h
# OBSOLETE
# OBSOLETE SIM_OBS = remote-sim.o
# OBSOLETE SIM = ../sim/h8500/libsim.a

View File

@ -1,295 +0,0 @@
// OBSOLETE /* Parameters for execution on a H8/500 series machine.
// OBSOLETE
// OBSOLETE Copyright 1993, 1994, 1995, 1998, 1999, 2000, 2001, 2002, 2003 Free
// OBSOLETE 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 "regcache.h"
// OBSOLETE
// OBSOLETE /* NOTE: cagney/2002-11-24: This is a guess. */
// OBSOLETE #define DEPRECATED_USE_GENERIC_DUMMY_FRAMES 0
// OBSOLETE #define CALL_DUMMY_LOCATION ON_STACK
// OBSOLETE #define DEPRECATED_PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
// OBSOLETE
// OBSOLETE /* Contributed by Steve Chamberlain sac@cygnus.com */
// OBSOLETE
// OBSOLETE #define GDB_TARGET_IS_H8500
// OBSOLETE
// OBSOLETE /* Define the sizes of integers and pointers. */
// OBSOLETE
// OBSOLETE #define TARGET_INT_BIT 16
// OBSOLETE
// OBSOLETE #define TARGET_LONG_BIT 32
// OBSOLETE
// OBSOLETE #define TARGET_PTR_BIT (minimum_mode ? 16 : 32)
// OBSOLETE
// OBSOLETE /* Offset from address of function to start of its code.
// OBSOLETE Zero on most machines. */
// OBSOLETE
// OBSOLETE #define FUNCTION_START_OFFSET 0
// OBSOLETE
// OBSOLETE /* Advance PC across any function entry prologue instructions
// OBSOLETE to reach some "real" code. */
// OBSOLETE
// OBSOLETE #define SKIP_PROLOGUE(ip) (h8500_skip_prologue (ip))
// OBSOLETE extern CORE_ADDR h8500_skip_prologue (CORE_ADDR);
// OBSOLETE
// OBSOLETE /* Immediately after a function call, return the saved pc.
// OBSOLETE Can't always go through the frames for this because on some machines
// OBSOLETE the new frame is not set up until the new function executes
// OBSOLETE some instructions. */
// OBSOLETE
// OBSOLETE #define SAVED_PC_AFTER_CALL(frame) saved_pc_after_call()
// OBSOLETE extern CORE_ADDR saved_pc_after_call (void);
// OBSOLETE
// OBSOLETE /* Stack grows downward. */
// OBSOLETE
// OBSOLETE #define INNER_THAN(lhs,rhs) ((lhs) < (rhs))
// OBSOLETE
// OBSOLETE /* Illegal instruction - used by the simulator for breakpoint
// OBSOLETE detection */
// OBSOLETE
// OBSOLETE #define BREAKPOINT {0x0b}
// OBSOLETE
// OBSOLETE /* If your kernel resets the pc after the trap happens you may need to
// OBSOLETE define this before including this file. */
// OBSOLETE
// OBSOLETE #define DECR_PC_AFTER_BREAK 0
// OBSOLETE
// OBSOLETE /* Say how long registers are. */
// OBSOLETE
// OBSOLETE #define REGISTER_TYPE unsigned long
// OBSOLETE
// OBSOLETE /* Say how much memory is needed to store a copy of the register set */
// OBSOLETE
// OBSOLETE #define REGISTER_BYTES (NUM_REGS * 4)
// OBSOLETE
// OBSOLETE /* Index within `registers' of the first byte of the space for
// OBSOLETE register N. */
// OBSOLETE
// OBSOLETE #define REGISTER_BYTE(N) ((N)*4)
// OBSOLETE
// OBSOLETE /* Number of bytes of storage in the actual machine representation
// OBSOLETE for register N. */
// OBSOLETE
// OBSOLETE #define REGISTER_RAW_SIZE(N) h8500_register_size(N)
// OBSOLETE extern int h8500_register_size (int regno);
// OBSOLETE
// OBSOLETE #define REGISTER_SIZE 4
// OBSOLETE
// OBSOLETE #define REGISTER_VIRTUAL_SIZE(N) h8500_register_size(N)
// OBSOLETE
// OBSOLETE /* Largest value REGISTER_RAW_SIZE can have. */
// OBSOLETE
// OBSOLETE #define MAX_REGISTER_RAW_SIZE 4
// OBSOLETE
// OBSOLETE /* Largest value REGISTER_VIRTUAL_SIZE can have. */
// OBSOLETE
// OBSOLETE #define MAX_REGISTER_VIRTUAL_SIZE 4
// OBSOLETE
// OBSOLETE /* Return the GDB type object for the "standard" data type
// OBSOLETE of data in register N. */
// OBSOLETE
// OBSOLETE #define REGISTER_VIRTUAL_TYPE(N) h8500_register_virtual_type(N)
// OBSOLETE extern struct type *h8500_register_virtual_type (int regno);
// OBSOLETE
// OBSOLETE /* Initializer for an array of names of registers.
// OBSOLETE Entries beyond the first NUM_REGS are ignored. */
// OBSOLETE
// OBSOLETE #define REGISTER_NAMES \
// OBSOLETE { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \
// OBSOLETE "pr0","pr1","pr2","pr3","pr4","pr5","pr6","pr7", \
// OBSOLETE "cp", "dp", "ep", "tp", "sr", "pc"}
// OBSOLETE
// OBSOLETE /* Register numbers of various important registers. Note that some of
// OBSOLETE these values are "real" register numbers, and correspond to the
// OBSOLETE general registers of the machine, and some are "phony" register
// OBSOLETE numbers which are too large to be actual register numbers as far as
// OBSOLETE the user is concerned but do serve to get the desired values when
// OBSOLETE passed to read_register. */
// OBSOLETE
// OBSOLETE #define R0_REGNUM 0
// OBSOLETE #define R1_REGNUM 1
// OBSOLETE #define R2_REGNUM 2
// OBSOLETE #define R3_REGNUM 3
// OBSOLETE #define R4_REGNUM 4
// OBSOLETE #define R5_REGNUM 5
// OBSOLETE #define R6_REGNUM 6
// OBSOLETE #define R7_REGNUM 7
// OBSOLETE
// OBSOLETE #define PR0_REGNUM 8
// OBSOLETE #define PR1_REGNUM 9
// OBSOLETE #define PR2_REGNUM 10
// OBSOLETE #define PR3_REGNUM 11
// OBSOLETE #define PR4_REGNUM 12
// OBSOLETE #define PR5_REGNUM 13
// OBSOLETE #define PR6_REGNUM 14
// OBSOLETE #define PR7_REGNUM 15
// OBSOLETE
// OBSOLETE #define SEG_C_REGNUM 16 /* Segment registers */
// OBSOLETE #define SEG_D_REGNUM 17
// OBSOLETE #define SEG_E_REGNUM 18
// OBSOLETE #define SEG_T_REGNUM 19
// OBSOLETE
// OBSOLETE #define CCR_REGNUM 20 /* Contains processor status */
// OBSOLETE #define PC_REGNUM 21 /* Contains program counter */
// OBSOLETE
// OBSOLETE #define NUM_REGS 22
// OBSOLETE
// OBSOLETE #define SP_REGNUM PR7_REGNUM /* Contains address of top of stack */
// OBSOLETE #define FP_REGNUM PR6_REGNUM /* Contains address of executing stack frame */
// OBSOLETE
// OBSOLETE #define PTR_SIZE (minimum_mode ? 2 : 4)
// OBSOLETE #define PTR_MASK (minimum_mode ? 0x0000ffff : 0x00ffffff)
// OBSOLETE
// OBSOLETE /* Store the address of the place in which to copy the structure the
// OBSOLETE subroutine will return. This is called from call_function. */
// OBSOLETE
// OBSOLETE /*#define STORE_STRUCT_RETURN(ADDR, SP) \
// OBSOLETE { write_register (0, (ADDR)); internal_error (__FILE__, __LINE__, "failed internal consistency check"); } */
// OBSOLETE
// OBSOLETE /* Extract from an array REGBUF containing the (raw) register state
// OBSOLETE a function return value of type TYPE, and copy that, in virtual format,
// OBSOLETE into VALBUF. */
// OBSOLETE
// OBSOLETE #define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \
// OBSOLETE memcpy (VALBUF, (char *)(REGBUF), TYPE_LENGTH(TYPE))
// OBSOLETE
// OBSOLETE /* Write into appropriate registers a function return value
// OBSOLETE of type TYPE, given in virtual format. */
// OBSOLETE
// OBSOLETE #define DEPRECATED_STORE_RETURN_VALUE(TYPE,VALBUF) \
// OBSOLETE deprecated_write_register_bytes (0, VALBUF, TYPE_LENGTH (TYPE))
// OBSOLETE
// OBSOLETE /* Extract from an array REGBUF containing the (raw) register state
// OBSOLETE the address in which a function should return its structure value,
// OBSOLETE as a CORE_ADDR (or an expression that can be used as one). */
// OBSOLETE
// OBSOLETE #define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) (*(CORE_ADDR *)(REGBUF))
// OBSOLETE
// OBSOLETE
// OBSOLETE /* Define other aspects of the stack frame. */
// OBSOLETE
// OBSOLETE /* A macro that tells us whether the function invocation represented
// OBSOLETE by FI does not have a frame on the stack associated with it. If it
// OBSOLETE does not, FRAMELESS is set to 1, else 0. */
// OBSOLETE
// OBSOLETE #define FRAMELESS_FUNCTION_INVOCATION(FI) \
// OBSOLETE (frameless_look_for_prologue (FI))
// OBSOLETE
// OBSOLETE /* Any function with a frame looks like this
// OBSOLETE SECOND ARG
// OBSOLETE FIRST ARG
// OBSOLETE RET PC
// OBSOLETE SAVED R2
// OBSOLETE SAVED R3
// OBSOLETE SAVED FP <-FP POINTS HERE
// OBSOLETE LOCALS0
// OBSOLETE LOCALS1 <-SP POINTS HERE
// OBSOLETE
// OBSOLETE */
// OBSOLETE
// OBSOLETE #define INIT_EXTRA_FRAME_INFO(fromleaf, fci) ;
// OBSOLETE /* (fci)->frame |= read_register(SEG_T_REGNUM) << 16; */
// OBSOLETE
// OBSOLETE #define FRAME_CHAIN(FRAME) h8500_frame_chain(FRAME)
// OBSOLETE struct frame_info;
// OBSOLETE extern CORE_ADDR h8500_frame_chain (struct frame_info *);
// OBSOLETE
// OBSOLETE #define FRAME_SAVED_PC(FRAME) frame_saved_pc(FRAME)
// OBSOLETE extern CORE_ADDR frame_saved_pc (struct frame_info *frame);
// OBSOLETE
// OBSOLETE #define FRAME_ARGS_ADDRESS(fi) (get_frame_base (fi))
// OBSOLETE
// OBSOLETE #define FRAME_LOCALS_ADDRESS(fi) (get_frame_base (fi))
// OBSOLETE
// OBSOLETE /* Set VAL to the number of args passed to frame described by FI.
// OBSOLETE Can set VAL to -1, meaning no way to tell. */
// OBSOLETE
// OBSOLETE /* We can't tell how many args there are
// OBSOLETE now that the C compiler delays popping them. */
// OBSOLETE
// OBSOLETE #define FRAME_NUM_ARGS(fi) (-1)
// OBSOLETE
// OBSOLETE /* Return number of bytes at start of arglist that are not really args. */
// OBSOLETE
// OBSOLETE #define FRAME_ARGS_SKIP 0
// OBSOLETE
// OBSOLETE /* Put here the code to store, into a struct frame_saved_regs,
// OBSOLETE the addresses of the saved registers of frame described by FRAME_INFO.
// OBSOLETE This includes special registers such as pc and fp saved in special
// OBSOLETE ways in the stack frame. sp is even more special:
// OBSOLETE the address we return for it IS the sp for the next frame. */
// OBSOLETE
// OBSOLETE #define FRAME_FIND_SAVED_REGS(frame_info, frame_saved_regs) \
// OBSOLETE frame_find_saved_regs(frame_info, &(frame_saved_regs))
// OBSOLETE struct frame_saved_regs;
// OBSOLETE extern void frame_find_saved_regs (struct frame_info *frame_info,
// OBSOLETE struct frame_saved_regs *frame_saved_regs);
// OBSOLETE
// OBSOLETE
// OBSOLETE /* Discard from the stack the innermost frame, restoring all registers. */
// OBSOLETE
// OBSOLETE #define POP_FRAME { h8500_pop_frame (); }
// OBSOLETE extern void h8500_pop_frame (void);
// OBSOLETE
// OBSOLETE #define SHORT_INT_MAX 32767
// OBSOLETE #define SHORT_INT_MIN -32768
// OBSOLETE
// OBSOLETE typedef unsigned short INSN_WORD;
// OBSOLETE
// OBSOLETE extern CORE_ADDR h8500_addr_bits_remove (CORE_ADDR);
// OBSOLETE #define ADDR_BITS_REMOVE(addr) h8500_addr_bits_remove (addr)
// OBSOLETE
// OBSOLETE #define read_memory_short(x) (read_memory_integer(x,2) & 0xffff)
// OBSOLETE
// OBSOLETE extern void h8500_do_registers_info (int regnum, int all);
// OBSOLETE #define DEPRECATED_DO_REGISTERS_INFO(REGNUM,ALL) \
// OBSOLETE h8500_do_registers_info (REGNUM, ALL)
// OBSOLETE
// OBSOLETE extern int minimum_mode;
// OBSOLETE
// OBSOLETE #define CALL_DUMMY_LENGTH 10
// OBSOLETE
// OBSOLETE /* Fake variables to make it easy to use 24 bit register pointers */
// OBSOLETE
// OBSOLETE #define IS_TRAPPED_INTERNALVAR h8500_is_trapped_internalvar
// OBSOLETE extern int h8500_is_trapped_internalvar (char *name);
// OBSOLETE
// OBSOLETE #define VALUE_OF_TRAPPED_INTERNALVAR h8500_value_of_trapped_internalvar
// OBSOLETE extern struct value *h8500_value_of_trapped_internalvar ( /* struct internalvar *var */ );
// OBSOLETE
// OBSOLETE #define SET_TRAPPED_INTERNALVAR h8500_set_trapped_internalvar
// OBSOLETE extern void h8500_set_trapped_internalvar ( /* struct internalvar *var, value newval, int bitpos, int bitsize, int offset */ );
// OBSOLETE
// OBSOLETE extern CORE_ADDR h8500_read_sp (void);
// OBSOLETE extern void h8500_write_sp (CORE_ADDR);
// OBSOLETE
// OBSOLETE extern CORE_ADDR h8500_read_fp (void);
// OBSOLETE
// OBSOLETE extern CORE_ADDR h8500_read_pc (ptid_t);
// OBSOLETE extern void h8500_write_pc (CORE_ADDR, ptid_t);
// OBSOLETE
// OBSOLETE #define TARGET_READ_SP() h8500_read_sp()
// OBSOLETE #define TARGET_WRITE_SP(x) h8500_write_sp(x)
// OBSOLETE
// OBSOLETE #define TARGET_READ_PC(pid) h8500_read_pc(pid)
// OBSOLETE #define TARGET_WRITE_PC(x,pid) h8500_write_pc(x,pid)
// OBSOLETE
// OBSOLETE #define TARGET_READ_FP() h8500_read_fp()

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,6 +0,0 @@
# OBSOLETE # Host: Little endian MIPS machine such as pmax
# OBSOLETE # running Mach 3.0 operating system
# OBSOLETE
# OBSOLETE NATDEPFILES= mipsm3-nat.o m3-nat.o core-aout.o
# OBSOLETE XM_FILE= xm-mipsm3.h
# OBSOLETE NAT_FILE= ../nm-m3.h

View File

@ -1,4 +0,0 @@
# OBSOLETE # Target: Little-endian MIPS machine such as pmax
# OBSOLETE # running Mach 3.0 operating system
# OBSOLETE TDEPFILES= mips-tdep.o
# OBSOLETE TM_FILE= tm-mipsm3.h

View File

@ -1,67 +0,0 @@
// OBSOLETE /* Definitions to make GDB run on a mips box under Mach 3.0
// OBSOLETE Copyright 1992, 1993, 1998 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 /* Mach specific definitions for little endian mips (e.g. pmax)
// OBSOLETE * running Mach 3.0
// OBSOLETE *
// OBSOLETE * Author: Jukka Virtanen <jtv@hut.fi>
// OBSOLETE */
// OBSOLETE
// OBSOLETE /* Include common definitions for Mach3 systems */
// OBSOLETE #include "config/nm-m3.h"
// OBSOLETE
// OBSOLETE /* Define offsets to access CPROC stack when it does not have
// OBSOLETE * a kernel thread.
// OBSOLETE */
// OBSOLETE
// OBSOLETE /* From mk/user/threads/mips/csw.s */
// OBSOLETE #define SAVED_FP (12*4)
// OBSOLETE #define SAVED_PC (13*4)
// OBSOLETE #define SAVED_BYTES (14*4)
// OBSOLETE
// OBSOLETE /* Using these, define our offsets to items strored in
// OBSOLETE * cproc_switch in csw.s
// OBSOLETE */
// OBSOLETE #define MACHINE_CPROC_SP_OFFSET SAVED_BYTES
// OBSOLETE #define MACHINE_CPROC_PC_OFFSET SAVED_PC
// OBSOLETE #define MACHINE_CPROC_FP_OFFSET SAVED_FP
// OBSOLETE
// OBSOLETE /* Thread flavors used in setting the Trace state.
// OBSOLETE
// OBSOLETE * In <mach/machine/thread_status.h>
// OBSOLETE */
// OBSOLETE #define TRACE_FLAVOR MIPS_EXC_STATE
// OBSOLETE #define TRACE_FLAVOR_SIZE MIPS_EXC_STATE_COUNT
// OBSOLETE #define TRACE_SET(x,state) ((struct mips_exc_state *)state)->cause = EXC_SST;
// OBSOLETE #define TRACE_CLEAR(x,state) 0
// OBSOLETE
// OBSOLETE /* Mach supports attach/detach */
// OBSOLETE #define ATTACH_DETACH 1
// OBSOLETE
// OBSOLETE #include "mips/tm-mips.h"
// OBSOLETE
// OBSOLETE /* Address of end of user stack space.
// OBSOLETE * for MACH, see <machine/vmparam.h>
// OBSOLETE */
// OBSOLETE #undef STACK_END_ADDR
// OBSOLETE #define STACK_END_ADDR USRSTACK
// OBSOLETE
// OBSOLETE /* Output registers in tabular format */
// OBSOLETE #define TABULAR_REGISTER_OUTPUT

View File

@ -1,29 +0,0 @@
// OBSOLETE /* Definitions to make GDB run on a mips box under 4.3bsd.
// OBSOLETE Copyright 1986, 1987, 1989, 1993 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 #define KERNEL_U_ADDR 0 /* Not needed. */
// OBSOLETE
// OBSOLETE /* Only used for core files on DECstations. */
// 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 */

View File

@ -1,6 +0,0 @@
# OBSOLETE # Target: Matsushita mn10200
# OBSOLETE TDEPFILES= mn10200-tdep.o
# OBSOLETE TM_FILE= tm-mn10200.h
# OBSOLETE
# OBSOLETE SIM_OBS = remote-sim.o
# OBSOLETE SIM = ../sim/mn10200/libsim.a

View File

@ -1,214 +0,0 @@
// OBSOLETE /* Parameters for execution on a Matsushita mn10200 processor.
// OBSOLETE
// OBSOLETE Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software
// OBSOLETE Foundation, Inc.
// OBSOLETE
// OBSOLETE Contributed by Geoffrey Noer <noer@cygnus.com>
// 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 /* FIXME: cagney/2001-03-01: The below macros refer to functions
// OBSOLETE declared in "regcache.h". The ``correct fix'' is to convert those
// OBSOLETE macros into functions. */
// OBSOLETE #include "regcache.h"
// OBSOLETE #include "symtab.h" /* For namespace_enum. */
// OBSOLETE #include "symfile.h" /* For entry_point_address(). */
// OBSOLETE
// OBSOLETE /* ints are only 16bits on the mn10200. */
// OBSOLETE #undef TARGET_INT_BIT
// OBSOLETE #define TARGET_INT_BIT 16
// OBSOLETE
// OBSOLETE /* The mn10200 doesn't support long long types. */
// OBSOLETE #undef TARGET_LONG_LONG_BIT
// OBSOLETE #define TARGET_LONG_LONG_BIT 32
// OBSOLETE
// OBSOLETE /* The mn10200 doesn't support double or long double either. */
// OBSOLETE #undef TARGET_DOUBLE_BIT
// OBSOLETE #undef TARGET_LONG_DOUBLE_BIT
// OBSOLETE #define TARGET_DOUBLE_BIT 32
// OBSOLETE #define TARGET_LONG_DOUBLE_BIT 32
// OBSOLETE
// OBSOLETE /* Not strictly correct, but the machine independent code is not
// OBSOLETE ready to handle any of the basic sizes not being a power of two. */
// OBSOLETE #undef TARGET_PTR_BIT
// OBSOLETE #define TARGET_PTR_BIT 32
// OBSOLETE
// OBSOLETE /* The mn10200 really has 24 bit registers but the simulator reads/writes
// OBSOLETE them as 32bit values, so we claim they're 32bits each. This may have
// OBSOLETE to be tweaked if the Matsushita emulator/board really deals with them
// OBSOLETE as 24bits each. */
// OBSOLETE #define REGISTER_SIZE 4
// OBSOLETE
// OBSOLETE #define MAX_REGISTER_RAW_SIZE REGISTER_SIZE
// OBSOLETE #define NUM_REGS 11
// OBSOLETE
// OBSOLETE #define REGISTER_BYTES (NUM_REGS * REGISTER_SIZE)
// OBSOLETE
// OBSOLETE #define REGISTER_NAMES \
// OBSOLETE { "d0", "d1", "d2", "d3", "a0", "a1", "a2", "sp", \
// OBSOLETE "pc", "mdr", "psw"}
// OBSOLETE
// OBSOLETE #define FP_REGNUM 6
// OBSOLETE #define SP_REGNUM 7
// OBSOLETE #define PC_REGNUM 8
// OBSOLETE #define MDR_REGNUM 9
// OBSOLETE #define PSW_REGNUM 10
// OBSOLETE
// OBSOLETE /* Treat the registers as 32bit values. */
// OBSOLETE #define REGISTER_VIRTUAL_TYPE(REG) builtin_type_long
// OBSOLETE
// OBSOLETE #define REGISTER_BYTE(REG) ((REG) * REGISTER_SIZE)
// OBSOLETE #define REGISTER_VIRTUAL_SIZE(REG) REGISTER_SIZE
// OBSOLETE #define REGISTER_RAW_SIZE(REG) REGISTER_SIZE
// OBSOLETE
// OBSOLETE #define MAX_REGISTER_VIRTUAL_SIZE REGISTER_SIZE
// OBSOLETE
// OBSOLETE /* The breakpoint instruction must be the same size as te smallest
// OBSOLETE instruction in the instruction set.
// OBSOLETE
// OBSOLETE The Matsushita mn10x00 processors have single byte instructions
// OBSOLETE so we need a single byte breakpoint. Matsushita hasn't defined
// OBSOLETE one, so we defined it ourselves.
// OBSOLETE
// OBSOLETE 0xff is the only available single byte insn left on the mn10200. */
// OBSOLETE #define BREAKPOINT {0xff}
// OBSOLETE
// OBSOLETE #define FUNCTION_START_OFFSET 0
// OBSOLETE
// OBSOLETE #define DECR_PC_AFTER_BREAK 0
// OBSOLETE
// OBSOLETE /* Stacks grow the normal way. */
// OBSOLETE #define INNER_THAN(lhs,rhs) ((lhs) < (rhs))
// OBSOLETE
// OBSOLETE #define SAVED_PC_AFTER_CALL(frame) \
// OBSOLETE (read_memory_integer (read_register (SP_REGNUM), REGISTER_SIZE) & 0xffffff)
// OBSOLETE
// OBSOLETE struct frame_info;
// OBSOLETE struct frame_saved_regs;
// OBSOLETE struct type;
// OBSOLETE struct value;
// OBSOLETE
// OBSOLETE #define EXTRA_FRAME_INFO struct frame_saved_regs fsr; int status; int stack_size;
// OBSOLETE
// OBSOLETE extern void mn10200_init_extra_frame_info (struct frame_info *);
// OBSOLETE #define INIT_EXTRA_FRAME_INFO(fromleaf, fi) mn10200_init_extra_frame_info (fi)
// OBSOLETE #define DEPRECATED_INIT_FRAME_PC(x,y) (init_frame_pc_noop (x, y))
// OBSOLETE #define INIT_FRAME_PC_FIRST(x,y) (init_frame_pc_noop (x, y))
// OBSOLETE
// OBSOLETE extern void mn10200_frame_find_saved_regs (struct frame_info *,
// OBSOLETE struct frame_saved_regs *);
// OBSOLETE #define FRAME_FIND_SAVED_REGS(fi, regaddr) regaddr = fi->fsr
// OBSOLETE
// OBSOLETE extern CORE_ADDR mn10200_frame_chain (struct frame_info *);
// OBSOLETE #define FRAME_CHAIN(fi) mn10200_frame_chain (fi)
// OBSOLETE
// OBSOLETE extern CORE_ADDR mn10200_find_callers_reg (struct frame_info *, int);
// OBSOLETE extern CORE_ADDR mn10200_frame_saved_pc (struct frame_info *);
// OBSOLETE #define FRAME_SAVED_PC(FI) (mn10200_frame_saved_pc (FI))
// OBSOLETE
// OBSOLETE /* Extract from an array REGBUF containing the (raw) register state
// OBSOLETE a function return value of type TYPE, and copy that, in virtual format,
// OBSOLETE into VALBUF. */
// OBSOLETE
// OBSOLETE #define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE, REGBUF, VALBUF) \
// OBSOLETE { \
// OBSOLETE if (TYPE_LENGTH (TYPE) > 8) \
// OBSOLETE internal_error (__FILE__, __LINE__, "failed internal consistency check"); \
// OBSOLETE else if (TYPE_LENGTH (TYPE) > 2 && TYPE_CODE (TYPE) != TYPE_CODE_PTR) \
// OBSOLETE { \
// OBSOLETE memcpy (VALBUF, REGBUF + REGISTER_BYTE (0), 2); \
// OBSOLETE memcpy (VALBUF + 2, REGBUF + REGISTER_BYTE (1), 2); \
// OBSOLETE } \
// OBSOLETE else if (TYPE_CODE (TYPE) == TYPE_CODE_PTR)\
// OBSOLETE { \
// OBSOLETE memcpy (VALBUF, REGBUF + REGISTER_BYTE (4), TYPE_LENGTH (TYPE)); \
// OBSOLETE } \
// OBSOLETE else \
// OBSOLETE { \
// OBSOLETE memcpy (VALBUF, REGBUF + REGISTER_BYTE (0), TYPE_LENGTH (TYPE)); \
// OBSOLETE } \
// OBSOLETE }
// OBSOLETE
// OBSOLETE #define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \
// OBSOLETE extract_address (REGBUF + REGISTER_BYTE (4), \
// OBSOLETE REGISTER_RAW_SIZE (4))
// OBSOLETE
// OBSOLETE #define DEPRECATED_STORE_RETURN_VALUE(TYPE, VALBUF) \
// OBSOLETE { \
// OBSOLETE if (TYPE_LENGTH (TYPE) > 8) \
// OBSOLETE internal_error (__FILE__, __LINE__, "failed internal consistency check"); \
// OBSOLETE else if (TYPE_LENGTH (TYPE) > 2 && TYPE_CODE (TYPE) != TYPE_CODE_PTR) \
// OBSOLETE { \
// OBSOLETE deprecated_write_register_bytes (REGISTER_BYTE (0), VALBUF, 2); \
// OBSOLETE deprecated_write_register_bytes (REGISTER_BYTE (1), VALBUF + 2, 2); \
// OBSOLETE } \
// OBSOLETE else if (TYPE_CODE (TYPE) == TYPE_CODE_PTR)\
// OBSOLETE { \
// OBSOLETE deprecated_write_register_bytes (REGISTER_BYTE (4), VALBUF, TYPE_LENGTH (TYPE)); \
// OBSOLETE } \
// OBSOLETE else \
// OBSOLETE { \
// OBSOLETE deprecated_write_register_bytes (REGISTER_BYTE (0), VALBUF, TYPE_LENGTH (TYPE)); \
// OBSOLETE } \
// OBSOLETE }
// OBSOLETE
// OBSOLETE
// OBSOLETE extern CORE_ADDR mn10200_store_struct_return (CORE_ADDR addr, CORE_ADDR sp);
// OBSOLETE #define STORE_STRUCT_RETURN(STRUCT_ADDR, SP) \
// OBSOLETE (SP) = mn10200_store_struct_return (STRUCT_ADDR, SP)
// OBSOLETE
// OBSOLETE extern CORE_ADDR mn10200_skip_prologue (CORE_ADDR);
// OBSOLETE #define SKIP_PROLOGUE(pc) (mn10200_skip_prologue (pc))
// OBSOLETE
// OBSOLETE #define FRAME_ARGS_SKIP 0
// OBSOLETE
// OBSOLETE #define FRAME_ARGS_ADDRESS(fi) (get_frame_base (fi))
// OBSOLETE #define FRAME_LOCALS_ADDRESS(fi) (get_frame_base (fi))
// OBSOLETE #define FRAME_NUM_ARGS(fi) (-1)
// OBSOLETE
// OBSOLETE extern void mn10200_pop_frame (struct frame_info *);
// OBSOLETE #define POP_FRAME mn10200_pop_frame (get_current_frame ())
// OBSOLETE
// OBSOLETE #define DEPRECATED_USE_GENERIC_DUMMY_FRAMES 1
// OBSOLETE #define CALL_DUMMY {0}
// OBSOLETE #define CALL_DUMMY_START_OFFSET (0)
// OBSOLETE #define CALL_DUMMY_BREAKPOINT_OFFSET (0)
// OBSOLETE #define CALL_DUMMY_LOCATION AT_ENTRY_POINT
// OBSOLETE #define FIX_CALL_DUMMY(DUMMY, START, FUNADDR, NARGS, ARGS, TYPE, GCCP)
// OBSOLETE #define CALL_DUMMY_ADDRESS() entry_point_address ()
// OBSOLETE
// OBSOLETE extern CORE_ADDR mn10200_push_return_address (CORE_ADDR, CORE_ADDR);
// OBSOLETE #define PUSH_RETURN_ADDRESS(PC, SP) mn10200_push_return_address (PC, SP)
// OBSOLETE
// OBSOLETE #define PUSH_DUMMY_FRAME generic_push_dummy_frame ()
// OBSOLETE
// OBSOLETE extern CORE_ADDR mn10200_push_arguments (int, struct value **, CORE_ADDR,
// OBSOLETE unsigned char, CORE_ADDR);
// OBSOLETE #define PUSH_ARGUMENTS(NARGS, ARGS, SP, STRUCT_RETURN, STRUCT_ADDR) \
// OBSOLETE (mn10200_push_arguments (NARGS, ARGS, SP, STRUCT_RETURN, STRUCT_ADDR))
// OBSOLETE
// OBSOLETE #define DEPRECATED_PC_IN_CALL_DUMMY(PC, SP, FP) generic_pc_in_call_dummy (PC, SP, FP)
// OBSOLETE
// OBSOLETE #define REG_STRUCT_HAS_ADDR(gcc_p,TYPE) \
// OBSOLETE (TYPE_LENGTH (TYPE) > 8)
// OBSOLETE
// OBSOLETE extern use_struct_convention_fn mn10200_use_struct_convention;
// OBSOLETE #define USE_STRUCT_CONVENTION(GCC_P, TYPE) mn10200_use_struct_convention (GCC_P, TYPE)
// OBSOLETE
// OBSOLETE /* Define this for Wingdb */
// OBSOLETE #define TARGET_MN10200

View File

@ -1,126 +0,0 @@
// OBSOLETE /* Mach 3.0 common definitions and global vars.
// OBSOLETE
// OBSOLETE Copyright 1992, 1993, 1994, 1996 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 #ifndef NM_M3_H
// OBSOLETE #define NM_M3_H
// OBSOLETE
// OBSOLETE #include <mach.h>
// OBSOLETE #include "regcache.h"
// OBSOLETE
// OBSOLETE /* Mach3 doesn't declare errno in <errno.h>. */
// OBSOLETE extern int errno;
// OBSOLETE
// OBSOLETE /* Task port of our debugged inferior. */
// OBSOLETE
// OBSOLETE extern task_t inferior_task;
// OBSOLETE
// OBSOLETE /* Thread port of the current thread in the inferior. */
// OBSOLETE
// OBSOLETE extern thread_t current_thread;
// OBSOLETE
// OBSOLETE /* If nonzero, we must suspend/abort && resume threads
// OBSOLETE * when setting or getting the state.
// OBSOLETE */
// OBSOLETE extern int must_suspend_thread;
// OBSOLETE
// OBSOLETE #define PREPARE_TO_PROCEED(select_it) mach3_prepare_to_proceed(select_it)
// OBSOLETE
// OBSOLETE /* Try to get the privileged host port for authentication to machid
// OBSOLETE
// OBSOLETE * If you can get this, you may debug anything on this host.
// OBSOLETE *
// OBSOLETE * If you can't, gdb gives it's own task port as the
// OBSOLETE * authentication port
// OBSOLETE */
// OBSOLETE #define mach_privileged_host_port() task_by_pid(-1)
// OBSOLETE
// OBSOLETE /*
// OBSOLETE * This is the MIG ID number of the emulator/server bsd_execve() RPC call.
// OBSOLETE *
// OBSOLETE * It SHOULD never change, but if it does, gdb `run'
// OBSOLETE * command won't work until you fix this define.
// OBSOLETE *
// OBSOLETE */
// OBSOLETE #define MIG_EXEC_SYSCALL_ID 101000
// OBSOLETE
// OBSOLETE /* If our_message_port gets a msg with this ID,
// OBSOLETE * GDB suspends it's inferior and enters command level.
// OBSOLETE * (Useful at least if ^C does not work)
// OBSOLETE */
// OBSOLETE #define GDB_MESSAGE_ID_STOP 0x41151
// OBSOLETE
// OBSOLETE /* wait3 WNOHANG is defined in <sys/wait.h> but
// OBSOLETE * for some reason gdb does not want to include
// OBSOLETE * that file.
// OBSOLETE *
// OBSOLETE * If your system defines WNOHANG differently, this has to be changed.
// OBSOLETE */
// OBSOLETE #define WNOHANG 1
// OBSOLETE
// OBSOLETE /* Before storing, we need to read all the registers. */
// OBSOLETE
// OBSOLETE #define CHILD_PREPARE_TO_STORE() deprecated_read_register_bytes (0, NULL, REGISTER_BYTES)
// OBSOLETE
// OBSOLETE /* Check if the inferior exists */
// OBSOLETE #define MACH_ERROR_NO_INFERIOR \
// OBSOLETE do if (!MACH_PORT_VALID (inferior_task)) \
// OBSOLETE error ("Inferior task does not exist."); while(0)
// OBSOLETE
// OBSOLETE /* Error handler for mach calls */
// OBSOLETE #define CHK(str,ret) \
// OBSOLETE do if (ret != KERN_SUCCESS) \
// OBSOLETE error ("Gdb %s [%d] %s : %s\n",__FILE__,__LINE__,str, \
// OBSOLETE mach_error_string(ret)); while(0)
// OBSOLETE
// OBSOLETE /* This is from POE9 emulator/emul_stack.h
// OBSOLETE */
// OBSOLETE /*
// OBSOLETE * Top of emulator stack holds link and reply port.
// OBSOLETE */
// OBSOLETE struct emul_stack_top
// OBSOLETE {
// OBSOLETE struct emul_stack_top *link;
// OBSOLETE mach_port_t reply_port;
// OBSOLETE };
// OBSOLETE
// OBSOLETE #define EMULATOR_STACK_SIZE (4096*4)
// OBSOLETE
// OBSOLETE #define THREAD_ALLOWED_TO_BREAK(mid) mach_thread_for_breakpoint (mid)
// OBSOLETE
// OBSOLETE #define THREAD_PARSE_ID(arg) mach_thread_parse_id (arg)
// OBSOLETE
// OBSOLETE #define THREAD_OUTPUT_ID(mid) mach_thread_output_id (mid)
// OBSOLETE
// OBSOLETE #define ATTACH_TO_THREAD attach_to_thread
// OBSOLETE
// OBSOLETE /* Don't do wait_for_inferior on attach. */
// OBSOLETE #define ATTACH_NO_WAIT
// OBSOLETE
// OBSOLETE /* Do Mach 3 dependent operations when ^C or a STOP is requested */
// OBSOLETE #define DO_QUIT() mach3_quit ()
// OBSOLETE
// OBSOLETE #if 0
// OBSOLETE /* This is bogus. It is NOT OK to quit out of target_wait. */
// OBSOLETE /* If in mach_msg() and ^C is typed set immediate_quit */
// OBSOLETE #define REQUEST_QUIT() mach3_request_quit ()
// OBSOLETE #endif
// OBSOLETE
// OBSOLETE #endif /* NM_M3_H */

View File

@ -1,4 +0,0 @@
# OBSOLETE # Host: Hewlett-Packard PA-RISC machine, running BSD
# OBSOLETE XM_FILE= xm-hppab.h
# OBSOLETE NAT_FILE= nm-hppab.h
# OBSOLETE NATDEPFILES= hppab-nat.o corelow.o core-aout.o inftarg.o fork-child.o somread.o infptrace.o hpread.o somsolib.o

View File

@ -1,3 +0,0 @@
# OBSOLETE # Target: HP PA-RISC running bsd
# OBSOLETE TDEPFILES= hppa-tdep.o
# OBSOLETE TM_FILE= tm-hppab.h

View File

@ -1,5 +0,0 @@
# OBSOLETE # Host: Hewlett-Packard PA-RISC machine, running BSD
# OBSOLETE XM_FILE= xm-hppab.h
# OBSOLETE NAT_FILE= nm-hppao.h
# OBSOLETE NATDEPFILES= fork-child.o m3-nat.o hppam3-nat.o somread.o hpread.o somsolib.o
# OBSOLETE NAT_CLIBS= -lmachid -lnetname -lmach

View File

@ -1,3 +0,0 @@
# OBSOLETE # Target: HP PA-RISC running OSF1
# OBSOLETE TDEPFILES= hppa-tdep.o
# OBSOLETE TM_FILE= tm-hppao.h

View File

@ -1,3 +0,0 @@
# OBSOLETE # Target: PA based debug monitor
# OBSOLETE TDEPFILES= hppa-tdep.o op50-rom.o w89k-rom.o monitor.o xmodem.o dsrec.o
# OBSOLETE TM_FILE= tm-pro.h

View File

@ -1,123 +0,0 @@
// OBSOLETE /* HPPA PA-RISC machine native support for BSD, for GDB.
// OBSOLETE Copyright 1991, 1992, 1993, 1994, 1995, 2002 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 "somsolib.h"
// OBSOLETE #include "regcache.h"
// OBSOLETE
// OBSOLETE #define U_REGS_OFFSET 0
// OBSOLETE
// OBSOLETE #define KERNEL_U_ADDR 0
// OBSOLETE
// OBSOLETE /* What a coincidence! */
// OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \
// OBSOLETE { addr = (int)(blockend) + REGISTER_BYTE (regno);}
// OBSOLETE
// OBSOLETE /* 3rd argument to ptrace is supposed to be a caddr_t. */
// OBSOLETE
// OBSOLETE #define PTRACE_ARG3_TYPE caddr_t
// OBSOLETE
// OBSOLETE /* HPUX 8.0, in its infinite wisdom, has chosen to prototype ptrace
// OBSOLETE with five arguments, so programs written for normal ptrace lose. */
// OBSOLETE #define FIVE_ARG_PTRACE
// OBSOLETE
// OBSOLETE
// OBSOLETE /* fetch_inferior_registers is in hppab-nat.c. */
// OBSOLETE #define FETCH_INFERIOR_REGISTERS
// OBSOLETE
// OBSOLETE /* attach/detach works to some extent under BSD and HPUX. So long
// OBSOLETE as the process you're attaching to isn't blocked waiting on io,
// OBSOLETE blocked waiting on a signal, or in a system call things work
// OBSOLETE fine. (The problems in those cases are related to the fact that
// OBSOLETE the kernel can't provide complete register information for the
// OBSOLETE target process... Which really pisses off GDB.) */
// OBSOLETE
// OBSOLETE #define ATTACH_DETACH
// OBSOLETE
// OBSOLETE /* The PA-BSD kernel has support for using the data memory break bit
// OBSOLETE to implement fast watchpoints.
// OBSOLETE
// OBSOLETE Watchpoints on the PA act much like traditional page protection
// OBSOLETE schemes, but with some notable differences.
// OBSOLETE
// OBSOLETE First, a special bit in the page table entry is used to cause
// OBSOLETE a trap when a specific page is written to. This avoids having
// OBSOLETE to overload watchpoints on the page protection bits. This makes
// OBSOLETE it possible for the kernel to easily decide if a trap was caused
// OBSOLETE by a watchpoint or by the user writing to protected memory and can
// OBSOLETE signal the user program differently in each case.
// OBSOLETE
// OBSOLETE Second, the PA has a bit in the processor status word which causes
// OBSOLETE data memory breakpoints (aka watchpoints) to be disabled for a single
// OBSOLETE instruction. This bit can be used to avoid the overhead of unprotecting
// OBSOLETE and reprotecting pages when it becomes necessary to step over a watchpoint.
// OBSOLETE
// OBSOLETE
// OBSOLETE When the kernel receives a trap indicating a write to a page which
// OBSOLETE is being watched, the kernel performs a couple of simple actions. First
// OBSOLETE is sets the magic "disable memory breakpoint" bit in the processor
// OBSOLETE status word, it then sends a SIGTRAP to the process which caused the
// OBSOLETE trap.
// OBSOLETE
// OBSOLETE GDB will take control and catch the signal for the inferior. GDB then
// OBSOLETE examines the PSW-X bit to determine if the SIGTRAP was caused by a
// OBSOLETE watchpoint firing. If so GDB single steps the inferior over the
// OBSOLETE instruction which caused the watchpoint to trigger (note because the
// OBSOLETE kernel disabled the data memory break bit for one instruction no trap
// OBSOLETE will be taken!). GDB will then determines the appropriate action to
// OBSOLETE take. (this may include restarting the inferior if the watchpoint
// OBSOLETE fired because of a write to an address on the same page as a watchpoint,
// OBSOLETE but no write to the watched address occured). */
// OBSOLETE
// OBSOLETE #define TARGET_HAS_HARDWARE_WATCHPOINTS /* Enable the code in procfs.c */
// OBSOLETE
// OBSOLETE /* The PA can watch any number of locations, there's no need for it to reject
// OBSOLETE anything (generic routines already check that all intermediates are
// OBSOLETE in memory). */
// OBSOLETE #define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \
// OBSOLETE ((type) == bp_hardware_watchpoint)
// OBSOLETE
// OBSOLETE /* When a hardware watchpoint fires off the PC will be left at the
// OBSOLETE instruction which caused the watchpoint. It will be necessary for
// OBSOLETE GDB to step over the watchpoint.
// OBSOLETE
// OBSOLETE On a PA running BSD, it is trivial to identify when it will be
// OBSOLETE necessary to step over a hardware watchpoint as we can examine
// OBSOLETE the PSW-X bit. If the bit is on, then we trapped because of a
// OBSOLETE watchpoint, else we trapped for some other reason. */
// OBSOLETE #define STOPPED_BY_WATCHPOINT(W) \
// OBSOLETE ((W).kind == TARGET_WAITKIND_STOPPED \
// OBSOLETE && (W).value.sig == TARGET_SIGNAL_TRAP \
// OBSOLETE && ((int) read_register (IPSW_REGNUM) & 0x00100000))
// OBSOLETE
// OBSOLETE /* The PA can single step over a watchpoint if the kernel has set the
// OBSOLETE "X" bit in the processor status word (disable data memory breakpoint
// OBSOLETE for one instruction).
// OBSOLETE
// OBSOLETE The kernel will always set this bit before notifying the inferior
// OBSOLETE that it hit a watchpoint. Thus, the inferior can single step over
// OBSOLETE the instruction which caused the watchpoint to fire. This avoids
// OBSOLETE the traditional need to disable the watchpoint, step the inferior,
// OBSOLETE then enable the watchpoint again. */
// OBSOLETE #define HAVE_STEPPABLE_WATCHPOINT
// OBSOLETE
// OBSOLETE /* Use these macros for watchpoint insertion/deletion. */
// OBSOLETE /* type can be 0: write watch, 1: read watch, 2: access watch (read/write) */
// OBSOLETE #define target_insert_watchpoint(addr, len, type) hppa_set_watchpoint (addr, len, 1)
// OBSOLETE #define target_remove_watchpoint(addr, len, type) hppa_set_watchpoint (addr, len, 0)

View File

@ -1,43 +0,0 @@
// OBSOLETE /* HPPA PA-RISC machine native support for Lites, for GDB.
// OBSOLETE Copyright 1995, 2002 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/nm-m3.h"
// OBSOLETE #define U_REGS_OFFSET 0
// OBSOLETE
// OBSOLETE #define KERNEL_U_ADDR 0
// OBSOLETE
// OBSOLETE /* What a coincidence! */
// OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \
// OBSOLETE { addr = (int)(blockend) + REGISTER_BYTE (regno);}
// OBSOLETE
// OBSOLETE /* fetch_inferior_registers is in hppab-nat.c. */
// OBSOLETE #define FETCH_INFERIOR_REGISTERS
// OBSOLETE
// OBSOLETE /* attach/detach works to some extent under BSD and HPUX. So long
// OBSOLETE as the process you're attaching to isn't blocked waiting on io,
// OBSOLETE blocked waiting on a signal, or in a system call things work
// OBSOLETE fine. (The problems in those cases are related to the fact that
// OBSOLETE the kernel can't provide complete register information for the
// OBSOLETE target process... Which really pisses off GDB.) */
// OBSOLETE
// OBSOLETE #define ATTACH_DETACH
// OBSOLETE
// OBSOLETE #define EMULATOR_BASE 0x90100000
// OBSOLETE #define EMULATOR_END 0x90200000

View File

@ -1,47 +0,0 @@
// OBSOLETE /* Parameters for execution on an HP PA-RISC machine running BSD, for GDB.
// OBSOLETE Contributed by the Center for Software Science at the
// OBSOLETE University of Utah (pa-gdb-bugs@cs.utah.edu). */
// OBSOLETE
// OBSOLETE /* For BSD:
// OBSOLETE
// OBSOLETE The signal context structure pointer is always saved at the base
// OBSOLETE of the frame + 0x4.
// OBSOLETE
// OBSOLETE We get the PC & SP directly from the sigcontext structure itself.
// OBSOLETE For other registers we have to dive in a little deeper:
// OBSOLETE
// OBSOLETE The hardware save state pointer is at offset 0x10 within the
// OBSOLETE signal context structure.
// OBSOLETE
// OBSOLETE Within the hardware save state, registers are found in the same order
// OBSOLETE as the register numbers in GDB. */
// OBSOLETE
// OBSOLETE #define FRAME_SAVED_PC_IN_SIGTRAMP(FRAME, TMP) \
// OBSOLETE { \
// OBSOLETE *(TMP) = read_memory_integer ((FRAME)->frame + 0x4, 4); \
// OBSOLETE *(TMP) = read_memory_integer (*(TMP) + 0x18, 4); \
// OBSOLETE }
// OBSOLETE
// OBSOLETE #define FRAME_BASE_BEFORE_SIGTRAMP(FRAME, TMP) \
// OBSOLETE { \
// OBSOLETE *(TMP) = read_memory_integer ((FRAME)->frame + 0x4, 4); \
// OBSOLETE *(TMP) = read_memory_integer (*(TMP) + 0x8, 4); \
// OBSOLETE }
// OBSOLETE
// OBSOLETE #define FRAME_FIND_SAVED_REGS_IN_SIGTRAMP(FRAME, FSR) \
// OBSOLETE { \
// OBSOLETE int i; \
// OBSOLETE CORE_ADDR TMP; \
// OBSOLETE TMP = read_memory_integer ((FRAME)->frame + 0x4, 4); \
// OBSOLETE TMP = read_memory_integer (TMP + 0x10, 4); \
// OBSOLETE for (i = 0; i < NUM_REGS; i++) \
// OBSOLETE { \
// OBSOLETE if (i == SP_REGNUM) \
// OBSOLETE (FSR)->regs[SP_REGNUM] = read_memory_integer (TMP + SP_REGNUM * 4, 4); \
// OBSOLETE else \
// OBSOLETE (FSR)->regs[i] = TMP + i * 4; \
// OBSOLETE } \
// OBSOLETE }
// OBSOLETE
// OBSOLETE /* It's mostly just the common stuff. */
// OBSOLETE #include "pa/tm-hppa.h"

View File

@ -1,98 +0,0 @@
// OBSOLETE /* Parameters for execution on an HP PA-RISC machine running OSF1, for GDB.
// OBSOLETE Contributed by the Center for Software Science at the
// OBSOLETE University of Utah (pa-gdb-bugs@cs.utah.edu). */
// OBSOLETE
// OBSOLETE #include "regcache.h"
// OBSOLETE
// OBSOLETE /* Define offsets to access CPROC stack when it does not have
// OBSOLETE * a kernel thread.
// OBSOLETE */
// OBSOLETE #define MACHINE_CPROC_SP_OFFSET 20
// OBSOLETE #define MACHINE_CPROC_PC_OFFSET 16
// OBSOLETE #define MACHINE_CPROC_FP_OFFSET 12
// OBSOLETE
// OBSOLETE /*
// OBSOLETE * Software defined PSW masks.
// OBSOLETE */
// OBSOLETE #define PSW_SS 0x10000000 /* Kernel managed single step */
// OBSOLETE
// OBSOLETE /* Thread flavors used in re-setting the T bit.
// OBSOLETE * @@ this is also bad for cross debugging.
// OBSOLETE */
// OBSOLETE #define TRACE_FLAVOR HP800_THREAD_STATE
// OBSOLETE #define TRACE_FLAVOR_SIZE HP800_THREAD_STATE_COUNT
// OBSOLETE #define TRACE_SET(x,state) \
// OBSOLETE ((struct hp800_thread_state *)state)->cr22 |= PSW_SS
// OBSOLETE #define TRACE_CLEAR(x,state) \
// OBSOLETE ((((struct hp800_thread_state *)state)->cr22 &= ~PSW_SS), 1)
// OBSOLETE
// OBSOLETE /* For OSF1 (Should be close if not identical to BSD, but I haven't
// OBSOLETE tested it yet):
// OBSOLETE
// OBSOLETE The signal context structure pointer is always saved at the base
// OBSOLETE of the frame + 0x4.
// OBSOLETE
// OBSOLETE We get the PC & SP directly from the sigcontext structure itself.
// OBSOLETE For other registers we have to dive in a little deeper:
// OBSOLETE
// OBSOLETE The hardware save state pointer is at offset 0x10 within the
// OBSOLETE signal context structure.
// OBSOLETE
// OBSOLETE Within the hardware save state, registers are found in the same order
// OBSOLETE as the register numbers in GDB. */
// OBSOLETE
// OBSOLETE #define FRAME_SAVED_PC_IN_SIGTRAMP(FRAME, TMP) \
// OBSOLETE { \
// OBSOLETE *(TMP) = read_memory_integer ((FRAME)->frame + 0x4, 4); \
// OBSOLETE *(TMP) = read_memory_integer (*(TMP) + 0x18, 4); \
// OBSOLETE }
// OBSOLETE
// OBSOLETE #define FRAME_BASE_BEFORE_SIGTRAMP(FRAME, TMP) \
// OBSOLETE { \
// OBSOLETE *(TMP) = read_memory_integer ((FRAME)->frame + 0x4, 4); \
// OBSOLETE *(TMP) = read_memory_integer (*(TMP) + 0x8, 4); \
// OBSOLETE }
// OBSOLETE
// OBSOLETE #define FRAME_FIND_SAVED_REGS_IN_SIGTRAMP(FRAME, FSR) \
// OBSOLETE { \
// OBSOLETE int i; \
// OBSOLETE CORE_ADDR TMP; \
// OBSOLETE TMP = read_memory_integer ((FRAME)->frame + 0x4, 4); \
// OBSOLETE TMP = read_memory_integer (TMP + 0x10, 4); \
// OBSOLETE for (i = 0; i < NUM_REGS; i++) \
// OBSOLETE { \
// OBSOLETE if (i == SP_REGNUM) \
// OBSOLETE (FSR)->regs[SP_REGNUM] = read_memory_integer (TMP + SP_REGNUM * 4, 4); \
// OBSOLETE else \
// OBSOLETE (FSR)->regs[i] = TMP + i * 4; \
// OBSOLETE } \
// OBSOLETE }
// OBSOLETE
// OBSOLETE /* OSF1 does not need the pc space queue restored. */
// OBSOLETE #define NO_PC_SPACE_QUEUE_RESTORE
// OBSOLETE
// OBSOLETE /* The mach kernel uses the recovery counter to implement single
// OBSOLETE stepping. While this greatly simplifies the kernel support
// OBSOLETE necessary for single stepping, it unfortunately does the wrong
// OBSOLETE thing in the presense of a nullified instruction (gives control
// OBSOLETE back two insns after the nullifed insn). This is an artifact
// OBSOLETE of the HP architecture (recovery counter doesn't tick for
// OBSOLETE nullified insns).
// OBSOLETE
// OBSOLETE Do our best to avoid losing in such situations. */
// OBSOLETE #define INSTRUCTION_NULLIFIED \
// OBSOLETE (({ \
// OBSOLETE int ipsw = (int)read_register(IPSW_REGNUM); \
// OBSOLETE if (ipsw & PSW_N) \
// OBSOLETE { \
// OBSOLETE int pcoqt = (int)read_register(PCOQ_TAIL_REGNUM); \
// OBSOLETE write_register(PCOQ_HEAD_REGNUM, pcoqt); \
// OBSOLETE write_register(PCOQ_TAIL_REGNUM, pcoqt + 0x4); \
// OBSOLETE write_register(IPSW_REGNUM, ipsw & ~(PSW_N | PSW_B | PSW_X)); \
// OBSOLETE stop_pc = pcoqt; \
// OBSOLETE } \
// OBSOLETE }), 0)
// OBSOLETE
// OBSOLETE /* It's mostly just the common stuff. */
// OBSOLETE
// OBSOLETE #include "pa/tm-hppa.h"

View File

@ -1,14 +0,0 @@
// OBSOLETE /* Parameters for execution on an HP PA-RISC level 0 embedded system.
// OBSOLETE This is based on tm-hppab.h.
// OBSOLETE Contributed by the Center for Software Science at the
// OBSOLETE University of Utah (pa-gdb-bugs@cs.utah.edu). */
// OBSOLETE
// OBSOLETE #define PA_LEVEL_0 /* Disables touching space regs and fp */
// OBSOLETE
// OBSOLETE /* All the PRO targets use software floating point at the moment. */
// OBSOLETE #define SOFT_FLOAT 1
// OBSOLETE
// OBSOLETE /* It's mostly just the common stuff. */
// OBSOLETE #include "pa/tm-hppa.h"
// OBSOLETE
// OBSOLETE #define GDB_TARGET_IS_PA_ELF

View File

@ -1,24 +0,0 @@
// OBSOLETE /* Parameters for hosting on an HPPA PA-RISC machine, running BSD, for GDB.
// OBSOLETE Copyright 1991, 1992, 1993, 1996, 1998 Free Software Foundation, Inc.
// OBSOLETE
// OBSOLETE Contributed by the Center for Software Science at the
// OBSOLETE University of Utah (pa-gdb-bugs@cs.utah.edu).
// 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 "pa/xm-pa.h"

View File

@ -1,5 +0,0 @@
// OBSOLETE /* Definitions for all PA machines. */
// OBSOLETE
// OBSOLETE /* This was created for "makeva", which is obsolete. This file can
// OBSOLETE probably go away (unless someone can think of some other host thing
// OBSOLETE which is common to various pa machines). */

View File

@ -1,3 +0,0 @@
# OBSOLETE # Target: SPARC embedded Sparclet monitor
# OBSOLETE TDEPFILES= sparc-tdep.o monitor.o sparclet-rom.o dsrec.o
# OBSOLETE TM_FILE= tm-sparclet.h

View File

@ -1,5 +0,0 @@
# OBSOLETE # Target: Fujitsu SPARClite processor
# OBSOLETE TDEPFILES= sparc-tdep.o sparcl-tdep.o
# OBSOLETE TM_FILE= tm-sparclite.h
# OBSOLETE SIM_OBS = remote-sim.o
# OBSOLETE SIM = ../sim/erc32/libsim.a

View File

@ -1,158 +0,0 @@
// OBSOLETE /* Target machine definitions for GDB for an embedded SPARC.
// OBSOLETE Copyright 1996, 1997, 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 "regcache.h"
// OBSOLETE
// OBSOLETE #define TARGET_SPARCLET 1 /* Still needed for non-multi-arch case */
// OBSOLETE
// OBSOLETE #include "sparc/tm-sparc.h"
// OBSOLETE
// OBSOLETE /* Note: we are not defining GDB_MULTI_ARCH for the sparclet target
// OBSOLETE at this time, because we have not figured out how to detect the
// OBSOLETE sparclet target from the bfd structure. */
// OBSOLETE
// OBSOLETE /* Sparclet regs, for debugging purposes. */
// OBSOLETE
// OBSOLETE enum {
// OBSOLETE CCSR_REGNUM = 72,
// OBSOLETE CCPR_REGNUM = 73,
// OBSOLETE CCCRCR_REGNUM = 74,
// OBSOLETE CCOR_REGNUM = 75,
// OBSOLETE CCOBR_REGNUM = 76,
// OBSOLETE CCIBR_REGNUM = 77,
// OBSOLETE CCIR_REGNUM = 78
// OBSOLETE };
// OBSOLETE
// OBSOLETE /* Select the sparclet disassembler. Slightly different instruction set from
// OBSOLETE the V8 sparc. */
// OBSOLETE
// OBSOLETE #undef TM_PRINT_INSN_MACH
// OBSOLETE #define TM_PRINT_INSN_MACH bfd_mach_sparc_sparclet
// OBSOLETE
// OBSOLETE /* overrides of tm-sparc.h */
// OBSOLETE
// OBSOLETE #undef TARGET_BYTE_ORDER
// OBSOLETE
// OBSOLETE /* Sequence of bytes for breakpoint instruction (ta 1). */
// OBSOLETE #undef BREAKPOINT
// OBSOLETE #define BIG_BREAKPOINT {0x91, 0xd0, 0x20, 0x01}
// OBSOLETE #define LITTLE_BREAKPOINT {0x01, 0x20, 0xd0, 0x91}
// OBSOLETE
// OBSOLETE #if !defined (GDB_MULTI_ARCH) || (GDB_MULTI_ARCH == 0)
// OBSOLETE /*
// OBSOLETE * The following defines must go away for MULTI_ARCH.
// OBSOLETE */
// OBSOLETE
// OBSOLETE #undef NUM_REGS /* formerly "72" */
// OBSOLETE /* WIN FP CPU CCP ASR AWR APSR */
// OBSOLETE #define NUM_REGS (32 + 32 + 8 + 8 + 8/*+ 32 + 1*/)
// OBSOLETE
// OBSOLETE #undef REGISTER_BYTES /* formerly "(32*4 + 32*4 + 8*4)" */
// OBSOLETE #define REGISTER_BYTES (32*4 + 32*4 + 8*4 + 8*4 + 8*4/* + 32*4 + 1*4*/)
// OBSOLETE
// OBSOLETE /* Initializer for an array of names of registers.
// OBSOLETE There should be NUM_REGS strings in this initializer. */
// OBSOLETE /* Sparclet has no fp! */
// OBSOLETE /* Compiler maps types for floats by number, so can't
// OBSOLETE change the numbers here. */
// OBSOLETE
// OBSOLETE #undef REGISTER_NAMES
// OBSOLETE #define REGISTER_NAMES \
// OBSOLETE { "g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7", \
// OBSOLETE "o0", "o1", "o2", "o3", "o4", "o5", "o6", "o7", \
// OBSOLETE "l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7", \
// OBSOLETE "i0", "i1", "i2", "i3", "i4", "i5", "i6", "i7", \
// OBSOLETE \
// OBSOLETE "", "", "", "", "", "", "", "", /* no FPU regs */ \
// OBSOLETE "", "", "", "", "", "", "", "", \
// OBSOLETE "", "", "", "", "", "", "", "", \
// OBSOLETE "", "", "", "", "", "", "", "", \
// OBSOLETE /* no CPSR, FPSR */ \
// OBSOLETE "y", "psr", "wim", "tbr", "pc", "npc", "", "", \
// OBSOLETE \
// OBSOLETE "ccsr", "ccpr", "cccrcr", "ccor", "ccobr", "ccibr", "ccir", "", \
// OBSOLETE \
// OBSOLETE /* ASR15 ASR19 (don't display them) */ \
// OBSOLETE "asr1", "", "asr17", "asr18", "", "asr20", "asr21", "asr22", \
// OBSOLETE /* \
// OBSOLETE "awr0", "awr1", "awr2", "awr3", "awr4", "awr5", "awr6", "awr7", \
// OBSOLETE "awr8", "awr9", "awr10", "awr11", "awr12", "awr13", "awr14", "awr15", \
// OBSOLETE "awr16", "awr17", "awr18", "awr19", "awr20", "awr21", "awr22", "awr23", \
// OBSOLETE "awr24", "awr25", "awr26", "awr27", "awr28", "awr29", "awr30", "awr31", \
// OBSOLETE "apsr", \
// OBSOLETE */ \
// OBSOLETE }
// OBSOLETE
// OBSOLETE /* Remove FP dependant code which was defined in tm-sparc.h */
// OBSOLETE #undef FP0_REGNUM /* Floating point register 0 */
// OBSOLETE #undef FPS_REGNUM /* Floating point status register */
// OBSOLETE #undef CPS_REGNUM /* Coprocessor status register */
// OBSOLETE
// OBSOLETE /* sparclet register numbers */
// OBSOLETE #define CCSR_REGNUM 72
// OBSOLETE
// OBSOLETE #undef DEPRECATED_EXTRACT_RETURN_VALUE
// OBSOLETE #define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \
// OBSOLETE { \
// OBSOLETE memcpy ((VALBUF), \
// OBSOLETE (char *)(REGBUF) + REGISTER_RAW_SIZE (O0_REGNUM) * 8 + \
// OBSOLETE (TYPE_LENGTH(TYPE) >= REGISTER_RAW_SIZE (O0_REGNUM) \
// OBSOLETE ? 0 : REGISTER_RAW_SIZE (O0_REGNUM) - TYPE_LENGTH(TYPE)), \
// OBSOLETE TYPE_LENGTH(TYPE)); \
// OBSOLETE }
// OBSOLETE #undef DEPRECATED_STORE_RETURN_VALUE
// OBSOLETE #define DEPRECATED_STORE_RETURN_VALUE(TYPE,VALBUF) \
// OBSOLETE { \
// OBSOLETE /* Other values are returned in register %o0. */ \
// OBSOLETE deprecated_write_register_bytes (REGISTER_BYTE (O0_REGNUM), (VALBUF), \
// OBSOLETE TYPE_LENGTH (TYPE)); \
// OBSOLETE }
// OBSOLETE
// OBSOLETE #endif /* GDB_MULTI_ARCH */
// OBSOLETE
// OBSOLETE extern void sparclet_do_registers_info (int regnum, int all);
// OBSOLETE #undef DEPRECATED_DO_REGISTERS_INFO
// OBSOLETE #define DEPRECATED_DO_REGISTERS_INFO(REGNUM,ALL) sparclet_do_registers_info (REGNUM, ALL)
// OBSOLETE
// OBSOLETE
// OBSOLETE /* Offsets into jmp_buf. Not defined by Sun, but at least documented in a
// OBSOLETE comment in <machine/setjmp.h>! */
// OBSOLETE
// OBSOLETE #define JB_ELEMENT_SIZE 4 /* Size of each element in jmp_buf */
// OBSOLETE
// OBSOLETE #define JB_ONSSTACK 0
// OBSOLETE #define JB_SIGMASK 1
// OBSOLETE #define JB_SP 2
// OBSOLETE #define JB_PC 3
// OBSOLETE #define JB_NPC 4
// OBSOLETE #define JB_PSR 5
// OBSOLETE #define JB_G1 6
// OBSOLETE #define JB_O0 7
// OBSOLETE #define JB_WBCNT 8
// 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 output regs. %o0 (O0_REGNUM) 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 extern int get_longjmp_target (CORE_ADDR *);
// OBSOLETE
// OBSOLETE #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR)

View File

@ -1,123 +0,0 @@
// OBSOLETE /* Macro definitions for GDB for a Fujitsu SPARClite.
// OBSOLETE Copyright 1993, 1994, 1995, 1998, 1999, 2000, 2001, 2002, 2003
// OBSOLETE 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 "regcache.h"
// OBSOLETE
// OBSOLETE #define TARGET_SPARCLITE 1 /* Still needed for non-multi-arch case */
// OBSOLETE
// OBSOLETE #include "sparc/tm-sparc.h"
// OBSOLETE
// OBSOLETE /* Note: we are not defining GDB_MULTI_ARCH for the sparclet target
// OBSOLETE at this time, because we have not figured out how to detect the
// OBSOLETE sparclet target from the bfd structure. */
// OBSOLETE
// OBSOLETE /* Sparclite regs, for debugging purposes */
// OBSOLETE
// OBSOLETE enum {
// OBSOLETE DIA1_REGNUM = 72, /* debug instr address register 1 */
// OBSOLETE DIA2_REGNUM = 73, /* debug instr address register 2 */
// OBSOLETE DDA1_REGNUM = 74, /* debug data address register 1 */
// OBSOLETE DDA2_REGNUM = 75, /* debug data address register 2 */
// OBSOLETE DDV1_REGNUM = 76, /* debug data value register 1 */
// OBSOLETE DDV2_REGNUM = 77, /* debug data value register 2 */
// OBSOLETE DCR_REGNUM = 78, /* debug control register */
// OBSOLETE DSR_REGNUM = 79 /* debug status regsiter */
// OBSOLETE };
// OBSOLETE
// OBSOLETE /* overrides of tm-sparc.h */
// OBSOLETE
// OBSOLETE #undef TARGET_BYTE_ORDER
// OBSOLETE
// OBSOLETE /* Select the sparclite disassembler. Slightly different instruction set from
// OBSOLETE the V8 sparc. */
// OBSOLETE
// OBSOLETE #undef TM_PRINT_INSN_MACH
// OBSOLETE #define TM_PRINT_INSN_MACH bfd_mach_sparc_sparclite
// OBSOLETE
// OBSOLETE /* Amount PC must be decremented by after a hardware instruction breakpoint.
// OBSOLETE This is often the number of bytes in BREAKPOINT
// OBSOLETE but not always. */
// OBSOLETE
// OBSOLETE #define DECR_PC_AFTER_HW_BREAK 4
// OBSOLETE
// OBSOLETE #if !defined (GDB_MULTI_ARCH) || (GDB_MULTI_ARCH == 0)
// OBSOLETE /*
// OBSOLETE * The following defines must go away for MULTI_ARCH.
// OBSOLETE */
// OBSOLETE
// OBSOLETE #undef NUM_REGS
// OBSOLETE #define NUM_REGS 80
// OBSOLETE
// OBSOLETE #undef REGISTER_BYTES
// OBSOLETE #define REGISTER_BYTES (32*4+32*4+8*4+8*4)
// OBSOLETE
// OBSOLETE #undef REGISTER_NAMES
// OBSOLETE #define REGISTER_NAMES \
// OBSOLETE { "g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7", \
// OBSOLETE "o0", "o1", "o2", "o3", "o4", "o5", "sp", "o7", \
// OBSOLETE "l0", "l1", "l2", "l3", "l4", "l5", "l6", "l7", \
// OBSOLETE "i0", "i1", "i2", "i3", "i4", "i5", "fp", "i7", \
// OBSOLETE \
// OBSOLETE "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", \
// OBSOLETE "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", \
// OBSOLETE "f16", "f17", "f18", "f19", "f20", "f21", "f22", "f23", \
// OBSOLETE "f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31", \
// OBSOLETE \
// OBSOLETE "y", "psr", "wim", "tbr", "pc", "npc", "fpsr", "cpsr", \
// OBSOLETE "dia1", "dia2", "dda1", "dda2", "ddv1", "ddv2", "dcr", "dsr" }
// OBSOLETE
// OBSOLETE #define DIA1_REGNUM 72 /* debug instr address register 1 */
// OBSOLETE #define DIA2_REGNUM 73 /* debug instr address register 2 */
// OBSOLETE #define DDA1_REGNUM 74 /* debug data address register 1 */
// OBSOLETE #define DDA2_REGNUM 75 /* debug data address register 2 */
// OBSOLETE #define DDV1_REGNUM 76 /* debug data value register 1 */
// OBSOLETE #define DDV2_REGNUM 77 /* debug data value register 2 */
// OBSOLETE #define DCR_REGNUM 78 /* debug control register */
// OBSOLETE #define DSR_REGNUM 79 /* debug status regsiter */
// OBSOLETE
// OBSOLETE #endif /* GDB_MULTI_ARCH */
// OBSOLETE
// OBSOLETE #define TARGET_HW_BREAK_LIMIT 2
// OBSOLETE #define TARGET_HW_WATCH_LIMIT 2
// OBSOLETE
// OBSOLETE /* Enable watchpoint macro's */
// OBSOLETE
// OBSOLETE #define TARGET_HAS_HARDWARE_WATCHPOINTS
// OBSOLETE
// OBSOLETE #define TARGET_CAN_USE_HARDWARE_WATCHPOINT(type, cnt, ot) \
// OBSOLETE sparclite_check_watch_resources (type, cnt, ot)
// OBSOLETE
// OBSOLETE /* When a hardware watchpoint fires off the PC will be left at the
// OBSOLETE instruction which caused the watchpoint. It will be necessary for
// OBSOLETE GDB to step over the watchpoint. ***
// OBSOLETE
// OBSOLETE #define STOPPED_BY_WATCHPOINT(W) \
// OBSOLETE ((W).kind == TARGET_WAITKIND_STOPPED \
// OBSOLETE && (W).value.sig == TARGET_SIGNAL_TRAP \
// OBSOLETE && ((int) read_register (IPSW_REGNUM) & 0x00100000))
// OBSOLETE */
// OBSOLETE
// OBSOLETE /* Use these macros for watchpoint insertion/deletion. */
// OBSOLETE #define target_insert_watchpoint(addr, len, type) sparclite_insert_watchpoint (addr, len, type)
// OBSOLETE #define target_remove_watchpoint(addr, len, type) sparclite_remove_watchpoint (addr, len, type)
// OBSOLETE #define target_insert_hw_breakpoint(addr, len) sparclite_insert_hw_breakpoint (addr, len)
// OBSOLETE #define target_remove_hw_breakpoint(addr, len) sparclite_remove_hw_breakpoint (addr, len)
// OBSOLETE #define target_stopped_data_address() sparclite_stopped_data_address()

View File

@ -1,292 +0,0 @@
// OBSOLETE /* Parameters for execution on a z8000 series machine.
// OBSOLETE
// OBSOLETE Copyright 1992, 1993, 1994, 1998, 1999, 2000, 2001, 2002 Free
// OBSOLETE 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 /* NOTE: cagney/2002-11-24: This is a guess. */
// OBSOLETE #define DEPRECATED_USE_GENERIC_DUMMY_FRAMES 0
// OBSOLETE #define CALL_DUMMY_LOCATION ON_STACK
// OBSOLETE #define DEPRECATED_PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
// OBSOLETE
// OBSOLETE #undef TARGET_INT_BIT
// OBSOLETE #undef TARGET_LONG_BIT
// OBSOLETE #undef TARGET_SHORT_BIT
// OBSOLETE #undef TARGET_PTR_BIT
// OBSOLETE
// OBSOLETE #define TARGET_SHORT_BIT 16
// OBSOLETE #define TARGET_INT_BIT 16
// OBSOLETE #define TARGET_LONG_BIT 32
// OBSOLETE #define TARGET_PTR_BIT (BIG ? 32: 16)
// OBSOLETE
// OBSOLETE /* Offset from address of function to start of its code.
// OBSOLETE Zero on most machines. */
// OBSOLETE
// OBSOLETE #define FUNCTION_START_OFFSET 0
// OBSOLETE
// OBSOLETE /* Advance PC across any function entry prologue instructions
// OBSOLETE to reach some "real" code. */
// OBSOLETE
// OBSOLETE #define SKIP_PROLOGUE(ip) (z8k_skip_prologue (ip))
// OBSOLETE extern CORE_ADDR z8k_skip_prologue (CORE_ADDR ip);
// OBSOLETE
// OBSOLETE
// OBSOLETE /* Immediately after a function call, return the saved pc.
// OBSOLETE Can't always go through the frames for this because on some machines
// OBSOLETE the new frame is not set up until the new function executes
// OBSOLETE some instructions. */
// OBSOLETE
// OBSOLETE
// OBSOLETE extern int z8k_saved_pc_after_call (struct frame_info *frame);
// OBSOLETE #define SAVED_PC_AFTER_CALL(frame) z8k_saved_pc_after_call(frame)
// OBSOLETE
// OBSOLETE /* Stack grows downward. */
// OBSOLETE
// OBSOLETE #define INNER_THAN(lhs,rhs) ((lhs) < (rhs))
// OBSOLETE
// OBSOLETE /* Sequence of bytes for breakpoint instruction. */
// OBSOLETE
// OBSOLETE #define BREAKPOINT {0x36,0x00}
// OBSOLETE
// OBSOLETE /* If your kernel resets the pc after the trap happens you may need to
// OBSOLETE define this before including this file. */
// OBSOLETE
// OBSOLETE #define DECR_PC_AFTER_BREAK 0
// OBSOLETE
// OBSOLETE /* Say how long registers are. */
// OBSOLETE
// OBSOLETE #define REGISTER_TYPE unsigned int
// OBSOLETE
// OBSOLETE #define NUM_REGS 23 /* 16 registers + 1 ccr + 1 pc + 3 debug
// OBSOLETE regs + fake fp + fake sp */
// OBSOLETE #define REGISTER_BYTES (NUM_REGS *4)
// OBSOLETE
// OBSOLETE /* Index within `registers' of the first byte of the space for
// OBSOLETE register N. */
// OBSOLETE
// OBSOLETE #define REGISTER_BYTE(N) ((N)*4)
// OBSOLETE
// OBSOLETE /* Number of bytes of storage in the actual machine representation
// OBSOLETE for register N. On the z8k, all but the pc are 2 bytes, but we
// OBSOLETE keep them all as 4 bytes and trim them on I/O */
// OBSOLETE
// OBSOLETE
// OBSOLETE #define REGISTER_RAW_SIZE(N) (((N) < 16)? 2:4)
// OBSOLETE
// OBSOLETE /* Number of bytes of storage in the program's representation
// OBSOLETE for register N. */
// OBSOLETE
// OBSOLETE #define REGISTER_VIRTUAL_SIZE(N) REGISTER_RAW_SIZE(N)
// OBSOLETE
// OBSOLETE /* Largest value REGISTER_RAW_SIZE can have. */
// OBSOLETE
// OBSOLETE #define MAX_REGISTER_RAW_SIZE 4
// OBSOLETE
// OBSOLETE /* Largest value REGISTER_VIRTUAL_SIZE can have. */
// OBSOLETE
// OBSOLETE #define MAX_REGISTER_VIRTUAL_SIZE 4
// OBSOLETE
// OBSOLETE /* Return the GDB type object for the "standard" data type
// OBSOLETE of data in register N. */
// OBSOLETE
// OBSOLETE #define REGISTER_VIRTUAL_TYPE(N) \
// OBSOLETE (REGISTER_VIRTUAL_SIZE(N) == 2? builtin_type_unsigned_int : builtin_type_long)
// OBSOLETE
// OBSOLETE #define DEPRECATED_INIT_FRAME_PC(x,y) (init_frame_pc_noop (x, y))
// OBSOLETE #define INIT_FRAME_PC_FIRST(x,y) (init_frame_pc_noop (x, y))
// OBSOLETE
// OBSOLETE #define REGISTER_NAMES \
// OBSOLETE {"r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \
// OBSOLETE "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", \
// OBSOLETE "ccr", "pc", "cycles","insts","time","fp","sp"}
// OBSOLETE
// OBSOLETE /* Register numbers of various important registers.
// OBSOLETE Note that some of these values are "real" register numbers,
// OBSOLETE and correspond to the general registers of the machine,
// OBSOLETE and some are "phony" register numbers which are too large
// OBSOLETE to be actual register numbers as far as the user is concerned
// OBSOLETE but do serve to get the desired values when passed to read_register. */
// OBSOLETE
// OBSOLETE #define CCR_REGNUM 16 /* Contains processor status */
// OBSOLETE #define PC_REGNUM 17 /* Contains program counter */
// OBSOLETE #define CYCLES_REGNUM 18
// OBSOLETE #define INSTS_REGNUM 19
// OBSOLETE #define TIME_REGNUM 20
// OBSOLETE #define FP_REGNUM 21 /* Contains fp, whatever memory model */
// OBSOLETE #define SP_REGNUM 22 /* Conatins sp, whatever memory model */
// OBSOLETE
// OBSOLETE
// OBSOLETE
// OBSOLETE #define PTR_SIZE (BIG ? 4: 2)
// OBSOLETE #define PTR_MASK (BIG ? 0xff00ffff : 0x0000ffff)
// OBSOLETE
// OBSOLETE /* Store the address of the place in which to copy the structure the
// OBSOLETE subroutine will return. This is called from call_function. */
// OBSOLETE
// OBSOLETE #define STORE_STRUCT_RETURN(ADDR, SP) internal_error (__FILE__, __LINE__, "failed internal consistency check");
// OBSOLETE
// OBSOLETE /* Extract from an array REGBUF containing the (raw) register state
// OBSOLETE a function return value of type TYPE, and copy that, in virtual format,
// OBSOLETE into VALBUF. This is assuming that floating point values are returned
// OBSOLETE as doubles in d0/d1. */
// OBSOLETE
// OBSOLETE
// OBSOLETE #define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \
// OBSOLETE memcpy(VALBUF, REGBUF + REGISTER_BYTE(2), TYPE_LENGTH(TYPE));
// OBSOLETE
// OBSOLETE /* Write into appropriate registers a function return value
// OBSOLETE of type TYPE, given in virtual format. */
// OBSOLETE
// OBSOLETE #define DEPRECATED_STORE_RETURN_VALUE(TYPE,VALBUF) internal_error (__FILE__, __LINE__, "failed internal consistency check");
// OBSOLETE
// OBSOLETE /* Extract from an array REGBUF containing the (raw) register state
// OBSOLETE the address in which a function should return its structure value,
// OBSOLETE as a CORE_ADDR (or an expression that can be used as one). */
// OBSOLETE
// OBSOLETE #define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) (*(CORE_ADDR *)(REGBUF))
// OBSOLETE
// OBSOLETE /* Describe the pointer in each stack frame to the previous stack frame
// OBSOLETE (its caller). */
// OBSOLETE
// OBSOLETE /* FRAME_CHAIN takes a frame's nominal address and produces the frame's
// OBSOLETE chain-pointer.
// OBSOLETE In the case of the Z8000, the frame's nominal address
// OBSOLETE is the address of a ptr sized byte word containing the calling
// OBSOLETE frame's address. */
// OBSOLETE
// OBSOLETE extern CORE_ADDR z8k_frame_chain (struct frame_info *thisframe);
// OBSOLETE #define FRAME_CHAIN(thisframe) z8k_frame_chain(thisframe);
// OBSOLETE
// OBSOLETE
// OBSOLETE
// OBSOLETE /* Define other aspects of the stack frame. */
// OBSOLETE
// OBSOLETE /* A macro that tells us whether the function invocation represented
// OBSOLETE by FI does not have a frame on the stack associated with it. If it
// OBSOLETE does not, FRAMELESS is set to 1, else 0. */
// OBSOLETE #define FRAMELESS_FUNCTION_INVOCATION(FI) \
// OBSOLETE (frameless_look_for_prologue (FI))
// OBSOLETE
// OBSOLETE extern CORE_ADDR z8k_frame_saved_pc (struct frame_info *frame);
// OBSOLETE #define FRAME_SAVED_PC(FRAME) z8k_frame_saved_pc(FRAME)
// OBSOLETE
// OBSOLETE #define FRAME_ARGS_ADDRESS(fi) ((fi)->frame)
// OBSOLETE
// OBSOLETE #define FRAME_LOCALS_ADDRESS(fi) ((fi)->frame)
// OBSOLETE
// OBSOLETE /* Set VAL to the number of args passed to frame described by FI.
// OBSOLETE Can set VAL to -1, meaning no way to tell. */
// OBSOLETE
// OBSOLETE /* We can't tell how many args there are
// OBSOLETE now that the C compiler delays popping them. */
// OBSOLETE #if !defined (FRAME_NUM_ARGS)
// OBSOLETE #define FRAME_NUM_ARGS(fi) (-1)
// OBSOLETE #endif
// OBSOLETE
// OBSOLETE /* Return number of bytes at start of arglist that are not really args. */
// OBSOLETE
// OBSOLETE #define FRAME_ARGS_SKIP 8
// OBSOLETE
// OBSOLETE struct frame_info;
// OBSOLETE extern void z8k_frame_init_saved_regs (struct frame_info *);
// OBSOLETE #define FRAME_INIT_SAVED_REGS(fi) z8k_frame_init_saved_regs (fi)
// OBSOLETE
// OBSOLETE
// OBSOLETE /* Things needed for making the inferior call functions.
// OBSOLETE It seems like every m68k based machine has almost identical definitions
// OBSOLETE in the individual machine's configuration files. Most other cpu types
// OBSOLETE (mips, i386, etc) have routines in their *-tdep.c files to handle this
// OBSOLETE for most configurations. The m68k family should be able to do this as
// OBSOLETE well. These macros can still be overridden when necessary. */
// OBSOLETE
// OBSOLETE /* The CALL_DUMMY macro is the sequence of instructions, as disassembled
// OBSOLETE by gdb itself:
// OBSOLETE
// OBSOLETE fmovemx fp0-fp7,sp@- 0xf227 0xe0ff
// OBSOLETE moveml d0-a5,sp@- 0x48e7 0xfffc
// OBSOLETE clrw sp@- 0x4267
// OBSOLETE movew ccr,sp@- 0x42e7
// OBSOLETE
// OBSOLETE /..* The arguments are pushed at this point by GDB;
// OBSOLETE no code is needed in the dummy for this.
// OBSOLETE The CALL_DUMMY_START_OFFSET gives the position of
// OBSOLETE the following jsr instruction. *../
// OBSOLETE
// OBSOLETE jsr @#0x32323232 0x4eb9 0x3232 0x3232
// OBSOLETE addal #0x69696969,sp 0xdffc 0x6969 0x6969
// OBSOLETE trap #<your BPT_VECTOR number here> 0x4e4?
// OBSOLETE nop 0x4e71
// OBSOLETE
// OBSOLETE Note this is CALL_DUMMY_LENGTH bytes (28 for the above example).
// OBSOLETE We actually start executing at the jsr, since the pushing of the
// OBSOLETE registers is done by PUSH_DUMMY_FRAME. If this were real code,
// OBSOLETE the arguments for the function called by the jsr would be pushed
// OBSOLETE between the moveml and the jsr, and we could allow it to execute through.
// OBSOLETE But the arguments have to be pushed by GDB after the PUSH_DUMMY_FRAME is
// OBSOLETE done, and we cannot allow the moveml to push the registers again lest
// OBSOLETE they be taken for the arguments. */
// OBSOLETE
// OBSOLETE
// OBSOLETE #define CALL_DUMMY { 0 }
// OBSOLETE #define CALL_DUMMY_LENGTH 24 /* Size of CALL_DUMMY */
// OBSOLETE #define CALL_DUMMY_START_OFFSET 8 /* Offset to jsr instruction */
// OBSOLETE
// OBSOLETE
// OBSOLETE /* Insert the specified number of args and function address
// OBSOLETE into a call sequence of the above form stored at DUMMYNAME.
// OBSOLETE We use the BFD routines to store a big-endian value of known size. */
// OBSOLETE
// OBSOLETE #define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \
// OBSOLETE { bfd_putb32 (fun, (char *) dummyname + CALL_DUMMY_START_OFFSET + 2); \
// OBSOLETE bfd_putb32 (nargs*4, (char *) dummyname + CALL_DUMMY_START_OFFSET + 8); }
// OBSOLETE
// OBSOLETE /* Push an empty stack frame, to record the current PC, etc. */
// OBSOLETE
// OBSOLETE #define PUSH_DUMMY_FRAME { z8k_push_dummy_frame (); }
// OBSOLETE
// OBSOLETE extern void z8k_push_dummy_frame (void);
// OBSOLETE
// OBSOLETE extern void z8k_pop_frame (void);
// OBSOLETE
// OBSOLETE /* Discard from the stack the innermost frame, restoring all registers. */
// OBSOLETE
// OBSOLETE #define POP_FRAME { z8k_pop_frame (); }
// OBSOLETE
// OBSOLETE /* Offset from SP to first arg on stack at first instruction of a function */
// OBSOLETE
// OBSOLETE #define SP_ARG0 (1 * 4)
// OBSOLETE
// OBSOLETE extern CORE_ADDR z8k_addr_bits_remove (CORE_ADDR);
// OBSOLETE #define ADDR_BITS_REMOVE(addr) z8k_addr_bits_remove (addr)
// OBSOLETE int sim_z8001_mode;
// OBSOLETE #define BIG (sim_z8001_mode)
// OBSOLETE
// OBSOLETE #define read_memory_short(x) (read_memory_integer(x,2) & 0xffff)
// OBSOLETE
// OBSOLETE #define NO_STD_REGS
// OBSOLETE
// OBSOLETE extern void z8k_do_registers_info (int regnum, int all);
// OBSOLETE #define DEPRECATED_DO_REGISTERS_INFO(REGNUM,ALL) \
// OBSOLETE z8k_do_registers_info (REGNUM, ALL)
// OBSOLETE
// OBSOLETE extern void z8k_set_pointer_size (int newsize);
// OBSOLETE #define INIT_EXTRA_SYMTAB_INFO \
// OBSOLETE z8k_set_pointer_size(objfile->obfd->arch_info->bits_per_address);
// OBSOLETE
// OBSOLETE #define REGISTER_SIZE 4

View File

@ -1,6 +0,0 @@
# OBSOLETE # Target: Z8000 with simulator
# OBSOLETE TDEPFILES= z8k-tdep.o
# OBSOLETE TM_FILE= tm-z8k.h
# OBSOLETE
# OBSOLETE SIM_OBS = remote-sim.o
# OBSOLETE SIM = ../sim/z8k/libsim.a