diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-12-16 20:39:23 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-12-16 20:39:23 +0000 |
commit | 1a14e23479eb187b1837310243d1a3ffe7b95e0c (patch) | |
tree | abd21a673167499137de7ee3a335eca5b159f120 /gdb/config | |
parent | da81390ba627de5fee7615d00f2116253c65a5a4 (diff) | |
download | gdb-1a14e23479eb187b1837310243d1a3ffe7b95e0c.zip gdb-1a14e23479eb187b1837310243d1a3ffe7b95e0c.tar.gz gdb-1a14e23479eb187b1837310243d1a3ffe7b95e0c.tar.bz2 |
2002-12-16 Andrew Cagney <ac131313@redhat.com>
* config/arc/arc.mt, config/arc/tm-arc.h: Delete.
* config/d30v/d30v.mt, config/d30v/tm-d30v.h: Delete.
* config/fr30/fr30.mt, config/fr30/tm-fr30.h: Delete.
* config/i386/i386aix.mh, config/i386/i386aix.mt: Delete.
* config/i386/i386m3.mh, config/i386/i386m3.mt: Delete.
* config/i386/i386mach.mh, config/i386/i386os9k.mt: Delete.
* config/i386/nm-i386aix.h, config/i386/nm-i386mach.h: Delete.
* config/i386/nm-m3.h, config/i386/tm-i386aix.h: Delete.
* config/i386/tm-i386m3.h, config/i386/tm-i386mk.h: Delete.
* config/i386/xm-i386aix.h, config/i386/xm-i386m3.h: Delete.
* config/i386/xm-i386mach.h, config/i386/xm-i386mk.h: Delete.
* config/i960/mon960.mt, config/i960/nindy960.mt: Delete.
* config/i960/tm-i960.h, config/i960/tm-mon960.h: Delete.
* config/i960/tm-nindy960.h, config/i960/tm-vx960.h: Delete.
* config/i960/vxworks960.mt, config/m68k/apollo68b.mh: Delete.
* config/m68k/apollo68b.mt, config/m68k/apollo68v.mh: Delete.
* config/m68k/hp300bsd.mh, config/m68k/hp300bsd.mt: Delete.
* config/m68k/hp300hpux.mh, config/m68k/hp300hpux.mt: Delete.
* config/m88k/delta88.mh, config/m88k/delta88.mt: Delete.
* config/m88k/delta88v4.mh, config/m88k/delta88v4.mt: Delete.
* config/m88k/m88k.mh, config/m88k/m88k.mt: Delete.
* config/m88k/nm-delta88v4.h, config/m88k/nm-m88k.h: Delete.
* config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h: Delete.
* config/m88k/tm-m88k.h, config/m88k/xm-delta88.h: Delete.
* config/m88k/xm-dgux.h: Delete.
* fr30-tdep.c, i386aix-nat.c, i386m3-nat.c: Delete.
* i386mach-nat.c, i960-tdep.c, m88k-nat.c: Delete.
* os9kread.c, remote-bug.c, remote-nindy.c: Delete.
* remote-nrom.c, remote-os9k.c, remote-vx960.c: Delete.
* d30v-tdep.c, arc-tdep.c, cxux-nat.c, dst.h, dstread.c: Delete.
* ch-exp.c, ch-lang.c, ch-lang.h, ch-typeprint.c: Delete.
* ch-valprint.c: Delete.
Diffstat (limited to 'gdb/config')
49 files changed, 0 insertions, 2746 deletions
diff --git a/gdb/config/arc/arc.mt b/gdb/config/arc/arc.mt deleted file mode 100644 index 3ed7410..0000000 --- a/gdb/config/arc/arc.mt +++ /dev/null @@ -1,3 +0,0 @@ -# OBSOLETE # Target: ARC processor -# OBSOLETE TDEPFILES = arc-tdep.o -# OBSOLETE TM_FILE = tm-arc.h diff --git a/gdb/config/arc/tm-arc.h b/gdb/config/arc/tm-arc.h deleted file mode 100644 index 1c7c74f..0000000 --- a/gdb/config/arc/tm-arc.h +++ /dev/null @@ -1,336 +0,0 @@ -// OBSOLETE /* Parameters for target machine ARC, for GDB, the GNU debugger. -// OBSOLETE Copyright 1995, 1996, 1998, 1999, 2000 Free Software Foundation, Inc. -// OBSOLETE Contributed by Cygnus Support. -// 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 /* Used by arc-tdep.c to set the default cpu type. */ -// OBSOLETE #define DEFAULT_ARC_CPU_TYPE "base" -// OBSOLETE -// OBSOLETE /* Offset from address of function to start of its code. -// OBSOLETE Zero on most machines. */ -// 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(pc) (arc_skip_prologue (pc, 0)) -// OBSOLETE extern CORE_ADDR arc_skip_prologue (CORE_ADDR, int); -// OBSOLETE -// OBSOLETE #define PROLOGUE_FRAMELESS_P(pc) arc_prologue_frameless_p(pc) -// OBSOLETE extern int arc_prologue_frameless_p (CORE_ADDR); -// OBSOLETE -// OBSOLETE /* Sequence of bytes for breakpoint instruction. -// OBSOLETE ??? The current value is "sr -1,[-1]" and is for the simulator only. -// OBSOLETE The simulator watches for this and does the right thing. -// OBSOLETE The hardware version will have to associate with each breakpoint -// OBSOLETE the sequence "flag 1; nop; nop; nop". IE: The breakpoint insn will not -// OBSOLETE be a fixed set of bits but instead will be a branch to a semi-random -// OBSOLETE address. Presumably this will be cleaned up for "second silicon". */ -// OBSOLETE #define BIG_BREAKPOINT { 0x12, 0x1f, 0xff, 0xff } -// OBSOLETE #define LITTLE_BREAKPOINT { 0xff, 0xff, 0x1f, 0x12 } -// OBSOLETE -// OBSOLETE /* Given the exposed pipeline, there isn't any one correct value. -// OBSOLETE However, this value must be 4. GDB can't handle any other value (other than -// OBSOLETE zero). See for example infrun.c: -// OBSOLETE "prev_pc != stop_pc - DECR_PC_AFTER_BREAK" */ -// OBSOLETE /* FIXME */ -// OBSOLETE #define DECR_PC_AFTER_BREAK 8 -// OBSOLETE -// OBSOLETE /* We don't have a reliable single step facility. -// OBSOLETE ??? We do have a cycle single step facility, but that won't work. */ -// OBSOLETE #define SOFTWARE_SINGLE_STEP_P() 1 -// OBSOLETE extern void arc_software_single_step (enum target_signal, int); -// OBSOLETE #define SOFTWARE_SINGLE_STEP(sig,bp_p) arc_software_single_step (sig, bp_p) -// OBSOLETE -// OBSOLETE /* FIXME: Need to set STEP_SKIPS_DELAY. */ -// OBSOLETE -// OBSOLETE /* Given a pc value as defined by the hardware, return the real address. -// OBSOLETE Remember that on the ARC blink contains that status register which -// OBSOLETE includes PC + flags (so we have to mask out the flags). */ -// OBSOLETE #define ARC_PC_TO_REAL_ADDRESS(pc) (((pc) & 0xffffff) << 2) -// 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 -// OBSOLETE executes some instructions. */ -// OBSOLETE -// OBSOLETE #define SAVED_PC_AFTER_CALL(frame) \ -// OBSOLETE (ARC_PC_TO_REAL_ADDRESS (read_register (BLINK_REGNUM))) -// OBSOLETE -// OBSOLETE /* Stack grows upward */ -// OBSOLETE -// OBSOLETE #define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) -// OBSOLETE -// OBSOLETE /* Say how long (ordinary) registers are. This is a piece of bogosity -// OBSOLETE used in push_word and a few other places; REGISTER_RAW_SIZE is the -// OBSOLETE real way to know how big a register is. */ -// OBSOLETE #define REGISTER_SIZE 4 -// OBSOLETE -// OBSOLETE /* Number of machine registers */ -// OBSOLETE #define NUM_REGS 92 -// OBSOLETE -// OBSOLETE /* Initializer for an array of names of registers. -// OBSOLETE There should be NUM_REGS strings in this initializer. */ -// OBSOLETE -// OBSOLETE #define REGISTER_NAMES \ -// OBSOLETE { \ -// OBSOLETE /* 0 */ "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \ -// OBSOLETE /* 8 */ "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", \ -// OBSOLETE /* 16 */ "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", \ -// OBSOLETE /* 24 */ "r24", "r25", "r26", "fp", "sp", "ilink1", "ilink2", "blink", \ -// OBSOLETE /* 32 */ "r32", "r33", "r34", "r35", "r36", "r37", "r38", "r39", \ -// OBSOLETE /* 40 */ "r40", "r41", "r42", "r43", "r44", "r45", "r46", "r47", \ -// OBSOLETE /* 48 */ "r48", "r49", "r50", "r51", "r52", "r53", "r54", "r55", \ -// OBSOLETE /* 56 */ "r56", "mlo", "mmid", "mhi", "lp_count", \ -// OBSOLETE /* 61 */ "status", "sema", "lp_start", "lp_end", "identity", "debug", \ -// OBSOLETE /* 67 */ "aux10", "aux11", "aux12", "aux13", "aux14", \ -// OBSOLETE /* 72 */ "aux15", "aux16", "aux17", "aux18", "aux19", \ -// OBSOLETE /* 77 */ "aux1a", "aux1b", "aux1c", "aux1d", "aux1e", \ -// OBSOLETE /* 82 */ "aux1f", "aux20", "aux21", "aux22", \ -// OBSOLETE /* 86 */ "aux30", "aux31", "aux32", "aux33", "aux40", \ -// OBSOLETE /* 91 */ "pc" \ -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Register numbers of various important registers (used to index -// OBSOLETE into arrays of register names and register values). */ -// OBSOLETE -// OBSOLETE #define R0_REGNUM 0 /* First local register */ -// OBSOLETE #define R59_REGNUM 59 /* Last local register */ -// OBSOLETE #define FP_REGNUM 27 /* Contains address of executing stack frame */ -// OBSOLETE #define SP_REGNUM 28 /* stack pointer */ -// OBSOLETE #define BLINK_REGNUM 31 /* link register */ -// OBSOLETE #define STA_REGNUM 61 /* processor status word */ -// OBSOLETE #define PC_REGNUM 91 /* instruction pointer */ -// OBSOLETE #define AUX_BEG_REGNUM 61 /* aux reg begins */ -// OBSOLETE #define AUX_END_REGNUM 90 /* aux reg ends, pc not real aux reg */ -// OBSOLETE -// OBSOLETE /* Fake registers used to mark immediate data. */ -// OBSOLETE #define SHIMM_FLAG_REGNUM 61 -// OBSOLETE #define LIMM_REGNUM 62 -// OBSOLETE #define SHIMM_REGNUM 63 -// OBSOLETE -// OBSOLETE #define AUX_REG_MAP \ -// OBSOLETE { \ -// OBSOLETE { 0, 1, 2, 3, 4, 5, \ -// OBSOLETE 16, -1, -1, -1, -1, \ -// OBSOLETE -1, -1, -1, -1, -1, \ -// OBSOLETE -1, -1, -1, -1, 30, \ -// OBSOLETE -1, 32, 33, -1, \ -// OBSOLETE 48, 49, 50, 51, 64, \ -// OBSOLETE 0 \ -// OBSOLETE }, \ -// OBSOLETE { 0, 1, 2, 3, 4, 5, \ -// OBSOLETE 16, -1, -1, -1, -1, \ -// OBSOLETE -1, -1, -1, -1, -1, \ -// OBSOLETE -1, -1, -1, -1, 30, \ -// OBSOLETE 31, 32, 33, -1, \ -// OBSOLETE -1, -1, -1, -1, -1, \ -// OBSOLETE 0 \ -// OBSOLETE }, \ -// OBSOLETE { 0, 1, 2, 3, 4, 5, \ -// OBSOLETE 16, 17, 18, 19, 20, \ -// OBSOLETE 21, 22, 23, 24, 25, \ -// OBSOLETE 26, 27, 28, 29, 30, \ -// OBSOLETE 31, 32, 33, 34, \ -// OBSOLETE -1, -1, -1, -1, -1, \ -// OBSOLETE 0 \ -// OBSOLETE } \ -// OBSOLETE } -// OBSOLETE -// OBSOLETE #define PFP_REGNUM R0_REGNUM /* Previous frame pointer */ -// OBSOLETE -// OBSOLETE /* Total amount of space needed to store our copies of the machine's -// OBSOLETE register state, the array `registers'. */ -// OBSOLETE #define REGISTER_BYTES (NUM_REGS * 4) -// OBSOLETE -// OBSOLETE /* Index within `registers' of the first byte of the space for register N. */ -// OBSOLETE #define REGISTER_BYTE(N) (4*(N)) -// OBSOLETE -// OBSOLETE /* Number of bytes of storage in the actual machine representation -// OBSOLETE for register N. */ -// OBSOLETE #define REGISTER_RAW_SIZE(N) 4 -// OBSOLETE -// OBSOLETE /* Number of bytes of storage in the program's representation for register N. */ -// OBSOLETE #define REGISTER_VIRTUAL_SIZE(N) 4 -// OBSOLETE -// OBSOLETE /* Largest value REGISTER_RAW_SIZE can have. */ -// OBSOLETE #define MAX_REGISTER_RAW_SIZE 4 -// OBSOLETE -// OBSOLETE /* Largest value REGISTER_VIRTUAL_SIZE can have. */ -// 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 #define REGISTER_VIRTUAL_TYPE(N) (builtin_type_int) -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Macros for understanding function return values... */ -// OBSOLETE -// OBSOLETE /* Does the specified function use the "struct returning" convention -// OBSOLETE or the "value returning" convention? The "value returning" convention -// OBSOLETE almost invariably returns the entire value in registers. The -// OBSOLETE "struct returning" convention often returns the entire value in -// OBSOLETE memory, and passes a pointer (out of or into the function) saying -// OBSOLETE where the value (is or should go). -// OBSOLETE -// OBSOLETE Since this sometimes depends on whether it was compiled with GCC, -// OBSOLETE this is also an argument. This is used in call_function to build a -// OBSOLETE stack, and in value_being_returned to print return values. -// OBSOLETE -// OBSOLETE On arc, a structure is always retunred with pointer in r0. */ -// OBSOLETE -// OBSOLETE #define USE_STRUCT_CONVENTION(gcc_p, type) 1 -// 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 only called if USE_STRUCT_CONVENTION for this -// OBSOLETE type is 0. -// OBSOLETE */ -// OBSOLETE #define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ -// OBSOLETE memcpy(VALBUF, REGBUF+REGISTER_BYTE(R0_REGNUM), TYPE_LENGTH (TYPE)) -// OBSOLETE -// OBSOLETE /* If USE_STRUCT_CONVENTION produces a 1, -// 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 #define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \ -// OBSOLETE (error("Don't know where large structure is returned on arc"), 0) -// OBSOLETE -// OBSOLETE /* Write into appropriate registers a function return value -// OBSOLETE of type TYPE, given in virtual format, for "value returning" functions. -// OBSOLETE For 'return' command: not (yet) implemented for arc. */ -// OBSOLETE #define STORE_RETURN_VALUE(TYPE,VALBUF) \ -// OBSOLETE error ("Returning values from functions is not implemented in arc gdb") -// 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 #define STORE_STRUCT_RETURN(ADDR, SP) \ -// OBSOLETE error ("Returning values from functions is not implemented in arc gdb") -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Describe the pointer in each stack frame to the previous stack frame -// OBSOLETE (its caller). */ -// OBSOLETE -// OBSOLETE /* We cache information about saved registers in the frame structure, -// OBSOLETE to save us from having to re-scan function prologues every time -// OBSOLETE a register in a non-current frame is accessed. */ -// OBSOLETE -// OBSOLETE #define EXTRA_FRAME_INFO \ -// OBSOLETE struct frame_saved_regs *fsr; \ -// OBSOLETE CORE_ADDR arg_pointer; -// OBSOLETE -// OBSOLETE /* Zero the frame_saved_regs pointer when the frame is initialized, -// OBSOLETE so that FRAME_FIND_SAVED_REGS () will know to allocate and -// OBSOLETE initialize a frame_saved_regs struct the first time it is called. -// OBSOLETE Set the arg_pointer to -1, which is not valid; 0 and other values -// OBSOLETE indicate real, cached values. */ -// OBSOLETE -// OBSOLETE #define INIT_EXTRA_FRAME_INFO(fromleaf, fi) \ -// OBSOLETE ((fi)->fsr = 0, (fi)->arg_pointer = -1) -// OBSOLETE -// OBSOLETE /* FRAME_CHAIN takes a frame's nominal address -// OBSOLETE and produces the frame's chain-pointer. -// OBSOLETE However, if FRAME_CHAIN_VALID returns zero, -// OBSOLETE it means the given frame is the outermost one and has no caller. */ -// OBSOLETE /* On the arc, we get the chain pointer by reading the PFP saved -// OBSOLETE on the stack. */ -// OBSOLETE /* The PFP and RPC is in fp and fp+4. */ -// OBSOLETE -// OBSOLETE #define FRAME_CHAIN(thisframe) \ -// OBSOLETE (read_memory_integer (FRAME_FP (thisframe), 4)) -// OBSOLETE -// OBSOLETE /* FRAME_CHAIN_VALID returns zero if the given frame is the outermost one -// OBSOLETE and has no caller. */ -// OBSOLETE #define FRAME_CHAIN_VALID(chain, thisframe) nonnull_frame_chain_valid (chain, thisframe) -// OBSOLETE -// OBSOLETE /* An expression that tells us whether the function invocation represented -// OBSOLETE by FI does not have a frame on the stack associated with it. */ -// OBSOLETE -// OBSOLETE #define FRAMELESS_FUNCTION_INVOCATION(FI) \ -// OBSOLETE (((FI)->signal_handler_caller) ? 0 : frameless_look_for_prologue (FI)) -// OBSOLETE -// OBSOLETE /* Where is the PC for a specific frame. -// OBSOLETE A leaf function may never save blink, so we have to check for that here. */ -// OBSOLETE -// OBSOLETE #define FRAME_SAVED_PC(frame) (arc_frame_saved_pc (frame)) -// OBSOLETE struct frame_info; /* in case frame.h not included yet */ -// OBSOLETE CORE_ADDR arc_frame_saved_pc (struct frame_info *); -// OBSOLETE -// OBSOLETE /* If the argument is on the stack, it will be here. -// OBSOLETE We cache this value in the frame info if we've already looked it up. */ -// OBSOLETE /* ??? Is the arg_pointer check necessary? */ -// OBSOLETE -// OBSOLETE #define FRAME_ARGS_ADDRESS(fi) \ -// OBSOLETE (((fi)->arg_pointer != -1) ? (fi)->arg_pointer : (fi)->frame) -// OBSOLETE -// OBSOLETE /* This is the same except it should return 0 when -// OBSOLETE it does not really know where the args are, rather than guessing. -// OBSOLETE This value is not cached since it is only used infrequently. */ -// OBSOLETE -// OBSOLETE #define FRAME_LOCALS_ADDRESS(fi) ((fi)->frame) -// OBSOLETE -// OBSOLETE /* Set NUMARGS to the number of args passed to a frame. -// OBSOLETE Can return -1, meaning no way to tell. */ -// 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 /* Produce the positions of the saved registers in a stack frame. */ -// OBSOLETE -// OBSOLETE #define FRAME_FIND_SAVED_REGS(frame_info_addr, sr) \ -// OBSOLETE frame_find_saved_regs (frame_info_addr, &sr) -// OBSOLETE extern void frame_find_saved_regs (); /* See arc-tdep.c */ -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Things needed for making calls to functions in the inferior process */ -// OBSOLETE void arc_push_dummy_frame (void); -// OBSOLETE #define PUSH_DUMMY_FRAME \ -// OBSOLETE arc_push_dummy_frame () -// OBSOLETE -// OBSOLETE /* Discard from the stack the innermost frame, restoring all registers. */ -// OBSOLETE void arc_pop_frame (void); -// OBSOLETE #define POP_FRAME \ -// OBSOLETE arc_pop_frame () -// OBSOLETE -// OBSOLETE /* This sequence of words is the instructions bl xxxx, flag 1 */ -// OBSOLETE #define CALL_DUMMY { 0x28000000, 0x1fbe8001 } -// OBSOLETE #define CALL_DUMMY_LENGTH 8 -// OBSOLETE -// OBSOLETE /* Start execution at beginning of dummy */ -// OBSOLETE #define CALL_DUMMY_START_OFFSET 0 -// OBSOLETE -// OBSOLETE /* Insert the specified number of args and function address -// OBSOLETE into a call sequence of the above form stored at 'dummyname'. */ -// OBSOLETE #define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \ -// OBSOLETE { \ -// OBSOLETE int from, to, delta, loc; \ -// OBSOLETE loc = (int)(read_register (SP_REGNUM) - CALL_DUMMY_LENGTH); \ -// OBSOLETE from = loc + 4; \ -// OBSOLETE to = (int)(fun); \ -// OBSOLETE delta = (to - from) >> 2; \ -// OBSOLETE *((char *)(dummyname) + 1) = (delta & 0x1); \ -// OBSOLETE *((char *)(dummyname) + 2) = ((delta >> 1) & 0xff); \ -// OBSOLETE *((char *)(dummyname) + 3) = ((delta >> 9) & 0xff); \ -// OBSOLETE *((char *)(dummyname) + 4) = ((delta >> 17) & 0x7); \ -// OBSOLETE } diff --git a/gdb/config/d30v/d30v.mt b/gdb/config/d30v/d30v.mt deleted file mode 100644 index 49bd83b..0000000 --- a/gdb/config/d30v/d30v.mt +++ /dev/null @@ -1,5 +0,0 @@ -# OBSOLETE # Target: Mitsubishi D30V processor -# OBSOLETE TDEPFILES= d30v-tdep.o -# OBSOLETE TM_FILE= tm-d30v.h -# OBSOLETE SIM_OBS= remote-sim.o -# OBSOLETE SIM= ../sim/d30v/libsim.a diff --git a/gdb/config/d30v/tm-d30v.h b/gdb/config/d30v/tm-d30v.h deleted file mode 100644 index 3e1ea3f..0000000 --- a/gdb/config/d30v/tm-d30v.h +++ /dev/null @@ -1,323 +0,0 @@ -/* OBSOLETE /* Target-specific definition for the Mitsubishi D30V */ -/* OBSOLETE Copyright 1997, 1998, 1999, 2000 Free Software Foundation, Inc. */ -/* OBSOLETE */ -/* OBSOLETE This file is part of GDB. */ -/* OBSOLETE */ -/* OBSOLETE This program is free software; you can redistribute it and/or modify */ -/* OBSOLETE it under the terms of the GNU General Public License as published by */ -/* OBSOLETE the Free Software Foundation; either version 2 of the License, or */ -/* OBSOLETE (at your option) any later version. */ -/* OBSOLETE */ -/* OBSOLETE This program is distributed in the hope that it will be useful, */ -/* OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of */ -/* OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ -/* OBSOLETE GNU General Public License for more details. */ -/* OBSOLETE */ -/* OBSOLETE You should have received a copy of the GNU General Public License */ -/* OBSOLETE along with this program; if not, write to the Free Software */ -/* OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, */ -/* OBSOLETE Boston, MA 02111-1307, USA. */ */ -/* OBSOLETE */ -/* OBSOLETE #ifndef TM_D30V_H */ -/* OBSOLETE #define TM_D30V_H */ -/* OBSOLETE */ -/* OBSOLETE #include "regcache.h" */ -/* 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 /* these are the addresses the D30V-EVA board maps data */ */ -/* OBSOLETE /* and instruction memory to. */ */ -/* OBSOLETE */ -/* OBSOLETE #define DMEM_START 0x20000000 */ -/* OBSOLETE #define IMEM_START 0x00000000 /* was 0x10000000 */ */ -/* OBSOLETE #define STACK_START 0x20007ffe */ -/* OBSOLETE */ -/* OBSOLETE /* Forward decls for prototypes */ */ -/* OBSOLETE struct frame_info; */ -/* OBSOLETE struct frame_saved_regs; */ -/* OBSOLETE struct type; */ -/* OBSOLETE struct value; */ -/* OBSOLETE */ -/* OBSOLETE /* Advance PC across any function entry prologue instructions */ -/* OBSOLETE to reach some "real" code. */ */ -/* OBSOLETE */ -/* OBSOLETE extern CORE_ADDR d30v_skip_prologue (CORE_ADDR); */ -/* OBSOLETE #define SKIP_PROLOGUE(ip) (d30v_skip_prologue (ip)) */ -/* OBSOLETE */ -/* OBSOLETE */ -/* OBSOLETE /* Stack grows downward. */ */ -/* OBSOLETE #define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) */ -/* OBSOLETE */ -/* OBSOLETE /* for a breakpoint, use "dbt || nop" */ */ -/* OBSOLETE #define BREAKPOINT {0x00, 0xb0, 0x00, 0x00,\ */ -/* OBSOLETE 0x00, 0xf0, 0x00, 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 #define DECR_PC_AFTER_BREAK 0 */ -/* OBSOLETE */ -/* OBSOLETE #define REGISTER_NAMES \ */ -/* OBSOLETE { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", \ */ -/* OBSOLETE "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", \ */ -/* OBSOLETE "r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23", \ */ -/* OBSOLETE "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31", \ */ -/* OBSOLETE "r32", "r33", "r34", "r35", "r36", "r37", "r38", "r39", \ */ -/* OBSOLETE "r40", "r41", "r42", "r43", "r44", "r45", "r46", "r47", \ */ -/* OBSOLETE "r48", "r49", "r50", "r51", "r52", "r53", "r54", "r55", \ */ -/* OBSOLETE "r56", "r57", "r58", "r59", "r60", "r61", "r62", "r63", \ */ -/* OBSOLETE "spi", "spu", \ */ -/* OBSOLETE "psw", "bpsw", "pc", "bpc", "dpsw", "dpc", "cr6", "rpt_c", \ */ -/* OBSOLETE "rpt_s", "rpt_e", "mod_s", "mod_e", "cr12", "cr13", "iba", "eit_vb",\ */ -/* OBSOLETE "int_s", "int_m", "a0", "a1" \ */ -/* OBSOLETE } */ -/* OBSOLETE */ -/* OBSOLETE #define NUM_REGS 86 */ -/* 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 R0_REGNUM 0 */ -/* OBSOLETE #define FP_REGNUM 61 */ -/* OBSOLETE #define LR_REGNUM 62 */ -/* OBSOLETE #define SP_REGNUM 63 */ -/* OBSOLETE #define SPI_REGNUM 64 /* Interrupt stack pointer */ */ -/* OBSOLETE #define SPU_REGNUM 65 /* User stack pointer */ */ -/* OBSOLETE #define CREGS_START 66 */ -/* OBSOLETE */ -/* OBSOLETE #define PSW_REGNUM (CREGS_START + 0) /* psw, bpsw, or dpsw??? */ */ -/* OBSOLETE #define PSW_SM (((unsigned long)0x80000000) >> 0) /* Stack mode: 0/SPI */ */ -/* OBSOLETE /* 1/SPU */ */ -/* OBSOLETE #define PSW_EA (((unsigned long)0x80000000) >> 2) /* Execution status */ */ -/* OBSOLETE #define PSW_DB (((unsigned long)0x80000000) >> 3) /* Debug mode */ */ -/* OBSOLETE #define PSW_DS (((unsigned long)0x80000000) >> 4) /* Debug EIT status */ */ -/* OBSOLETE #define PSW_IE (((unsigned long)0x80000000) >> 5) /* Interrupt enable */ */ -/* OBSOLETE #define PSW_RP (((unsigned long)0x80000000) >> 6) /* Repeat enable */ */ -/* OBSOLETE #define PSW_MD (((unsigned long)0x80000000) >> 7) /* Modulo enable */ */ -/* OBSOLETE #define PSW_F0 (((unsigned long)0x80000000) >> 17) /* F0 flag */ */ -/* OBSOLETE #define PSW_F1 (((unsigned long)0x80000000) >> 19) /* F1 flag */ */ -/* OBSOLETE #define PSW_F2 (((unsigned long)0x80000000) >> 21) /* F2 flag */ */ -/* OBSOLETE #define PSW_F3 (((unsigned long)0x80000000) >> 23) /* F3 flag */ */ -/* OBSOLETE #define PSW_S (((unsigned long)0x80000000) >> 25) /* Saturation flag */ */ -/* OBSOLETE #define PSW_V (((unsigned long)0x80000000) >> 27) /* Overflow flag */ */ -/* OBSOLETE #define PSW_VA (((unsigned long)0x80000000) >> 29) /* Accum. overflow */ */ -/* OBSOLETE #define PSW_C (((unsigned long)0x80000000) >> 31) /* Carry/Borrow flag */ */ -/* OBSOLETE */ -/* OBSOLETE #define BPSW_REGNUM (CREGS_START + 1) /* Backup PSW (on interrupt) */ */ -/* OBSOLETE #define PC_REGNUM (CREGS_START + 2) /* pc, bpc, or dpc??? */ */ -/* OBSOLETE #define BPC_REGNUM (CREGS_START + 3) /* Backup PC (on interrupt) */ */ -/* OBSOLETE #define DPSW_REGNUM (CREGS_START + 4) /* Backup PSW (on debug trap) */ */ -/* OBSOLETE #define DPC_REGNUM (CREGS_START + 5) /* Backup PC (on debug trap) */ */ -/* OBSOLETE #define RPT_C_REGNUM (CREGS_START + 7) /* Loop count */ */ -/* OBSOLETE #define RPT_S_REGNUM (CREGS_START + 8) /* Loop start address */ */ -/* OBSOLETE #define RPT_E_REGNUM (CREGS_START + 9) /* Loop end address */ */ -/* OBSOLETE #define MOD_S_REGNUM (CREGS_START + 10) */ -/* OBSOLETE #define MOD_E_REGNUM (CREGS_START + 11) */ -/* OBSOLETE #define IBA_REGNUM (CREGS_START + 14) /* Instruction break address */ */ -/* OBSOLETE #define EIT_VB_REGNUM (CREGS_START + 15) /* Vector base address */ */ -/* OBSOLETE #define INT_S_REGNUM (CREGS_START + 16) /* Interrupt status */ */ -/* OBSOLETE #define INT_M_REGNUM (CREGS_START + 17) /* Interrupt mask */ */ -/* OBSOLETE #define A0_REGNUM 84 */ -/* OBSOLETE #define A1_REGNUM 85 */ -/* OBSOLETE */ -/* OBSOLETE /* Say how much memory is needed to store a copy of the register set */ */ -/* OBSOLETE #define REGISTER_BYTES ((NUM_REGS - 2) * 4 + 2 * 8) */ -/* OBSOLETE */ -/* OBSOLETE /* Index within `registers' of the first byte of the space for */ -/* OBSOLETE register N. */ */ -/* OBSOLETE */ -/* OBSOLETE #define REGISTER_BYTE(N) \ */ -/* OBSOLETE ( ((N) >= A0_REGNUM) ? ( ((N) - A0_REGNUM) * 8 + A0_REGNUM * 4 ) : ((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) ( ((N) >= A0_REGNUM) ? 8 : 4 ) */ -/* OBSOLETE */ -/* OBSOLETE /* Number of bytes of storage in the program's representation */ -/* OBSOLETE for register N. */ */ -/* 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 8 */ -/* OBSOLETE */ -/* OBSOLETE /* Largest value REGISTER_VIRTUAL_SIZE can have. */ */ -/* OBSOLETE */ -/* OBSOLETE #define MAX_REGISTER_VIRTUAL_SIZE 8 */ -/* 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 ( ((N) < A0_REGNUM ) ? builtin_type_long : builtin_type_long_long) */ -/* OBSOLETE */ -/* OBSOLETE /* Writing to r0 is a noop (not an error or exception or anything like */ -/* OBSOLETE that, however). */ */ -/* OBSOLETE */ -/* OBSOLETE #define CANNOT_STORE_REGISTER(regno) ((regno) == R0_REGNUM) */ -/* OBSOLETE */ -/* OBSOLETE void d30v_do_registers_info (int regnum, int fpregs); */ -/* OBSOLETE */ -/* OBSOLETE #define DO_REGISTERS_INFO d30v_do_registers_info */ -/* 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 We store structs through a pointer passed in R2 */ */ -/* OBSOLETE */ -/* OBSOLETE #define STORE_STRUCT_RETURN(ADDR, SP) \ */ -/* OBSOLETE { write_register (2, (ADDR)); } */ -/* OBSOLETE */ -/* OBSOLETE */ -/* OBSOLETE /* Write into appropriate registers a function return value */ -/* OBSOLETE of type TYPE, given in virtual format. */ -/* OBSOLETE */ -/* OBSOLETE Things always get returned in R2/R3 */ */ -/* OBSOLETE */ -/* OBSOLETE #define STORE_RETURN_VALUE(TYPE,VALBUF) \ */ -/* OBSOLETE write_register_bytes (REGISTER_BYTE(2), VALBUF, TYPE_LENGTH (TYPE)) */ -/* OBSOLETE */ -/* 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 #define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) (((CORE_ADDR *)(REGBUF))[2]) */ -/* OBSOLETE */ -/* OBSOLETE */ -/* OBSOLETE /* Define other aspects of the stack frame. */ -/* OBSOLETE we keep a copy of the worked out return pc lying around, since it */ -/* OBSOLETE is a useful bit of info */ */ -/* OBSOLETE */ -/* OBSOLETE #define EXTRA_FRAME_INFO \ */ -/* OBSOLETE CORE_ADDR return_pc; \ */ -/* OBSOLETE CORE_ADDR dummy; \ */ -/* OBSOLETE int frameless; \ */ -/* OBSOLETE int size; */ -/* OBSOLETE */ -/* OBSOLETE #define INIT_EXTRA_FRAME_INFO(fromleaf, fi) \ */ -/* OBSOLETE d30v_init_extra_frame_info(fromleaf, fi) */ -/* OBSOLETE */ -/* OBSOLETE extern void d30v_init_extra_frame_info (int fromleaf, struct frame_info *fi); */ -/* 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 CORE_ADDR d30v_frame_chain (struct frame_info *frame); */ -/* OBSOLETE #define FRAME_CHAIN(FRAME) d30v_frame_chain(FRAME) */ -/* OBSOLETE extern int d30v_frame_chain_valid (CORE_ADDR, struct frame_info *); */ -/* OBSOLETE #define FRAME_CHAIN_VALID(chain, thisframe) d30v_frame_chain_valid (chain, thisframe) */ -/* OBSOLETE #define FRAME_SAVED_PC(FRAME) ((FRAME)->return_pc) */ -/* OBSOLETE #define FRAME_ARGS_ADDRESS(fi) (fi)->frame */ -/* OBSOLETE #define FRAME_LOCALS_ADDRESS(fi) (fi)->frame */ -/* OBSOLETE */ -/* OBSOLETE void d30v_init_frame_pc (int fromleaf, struct frame_info *prev); */ -/* OBSOLETE #define INIT_FRAME_PC_FIRST(fromleaf, prev) d30v_init_frame_pc(fromleaf, prev) */ -/* OBSOLETE #define INIT_FRAME_PC(fromleaf, prev) /* nada */ */ -/* OBSOLETE */ -/* OBSOLETE /* Immediately after a function call, return the saved pc. We can't */ */ -/* OBSOLETE /* use frame->return_pc beause that is determined by reading R62 off the */ */ -/* OBSOLETE /* stack and that may not be written yet. */ */ -/* OBSOLETE */ -/* OBSOLETE #define SAVED_PC_AFTER_CALL(frame) (read_register(LR_REGNUM)) */ -/* 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 /* We can't tell how many args there are */ */ -/* 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 */ -/* 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 d30v_frame_find_saved_regs(frame_info, &(frame_saved_regs)) */ -/* OBSOLETE */ -/* OBSOLETE extern void d30v_frame_find_saved_regs (struct frame_info *, */ -/* OBSOLETE struct frame_saved_regs *); */ -/* OBSOLETE */ -/* OBSOLETE /* DUMMY FRAMES. Need these to support inferior function calls. */ -/* OBSOLETE They work like this on D30V: */ -/* OBSOLETE First we set a breakpoint at 0 or __start. */ -/* OBSOLETE Then we push all the registers onto the stack. */ -/* OBSOLETE Then put the function arguments in the proper registers and set r13 */ -/* OBSOLETE to our breakpoint address. */ -/* OBSOLETE Finally call the function directly. */ -/* OBSOLETE When it hits the breakpoint, clear the break point and pop the old */ -/* OBSOLETE register contents off the stack. */ */ -/* OBSOLETE */ -/* OBSOLETE #define CALL_DUMMY { 0 } */ -/* OBSOLETE #define PUSH_DUMMY_FRAME */ -/* OBSOLETE #define CALL_DUMMY_START_OFFSET 0 */ -/* OBSOLETE #define CALL_DUMMY_LOCATION AT_ENTRY_POINT */ -/* OBSOLETE #define CALL_DUMMY_BREAKPOINT_OFFSET (0) */ -/* OBSOLETE */ -/* OBSOLETE extern CORE_ADDR d30v_call_dummy_address (void); */ -/* OBSOLETE #define CALL_DUMMY_ADDRESS() d30v_call_dummy_address() */ -/* OBSOLETE */ -/* OBSOLETE #define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \ */ -/* OBSOLETE sp = d30v_fix_call_dummy (dummyname, pc, fun, nargs, args, type, gcc_p) */ -/* OBSOLETE */ -/* OBSOLETE #define PC_IN_CALL_DUMMY(pc, sp, frame_address) ( pc == IMEM_START + 4 ) */ -/* OBSOLETE */ -/* OBSOLETE extern CORE_ADDR d30v_fix_call_dummy (char *, CORE_ADDR, CORE_ADDR, */ -/* OBSOLETE int, struct value **, */ -/* OBSOLETE struct type *, int); */ -/* OBSOLETE #define PUSH_ARGUMENTS(nargs, args, sp, struct_return, struct_addr) \ */ -/* OBSOLETE (d30v_push_arguments((nargs), (args), (sp), (struct_return), (struct_addr))) */ -/* OBSOLETE extern CORE_ADDR d30v_push_arguments (int, struct value **, CORE_ADDR, int, */ -/* OBSOLETE CORE_ADDR); */ -/* OBSOLETE */ -/* 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 d30v_extract_return_value(TYPE, REGBUF, VALBUF) */ -/* OBSOLETE extern void d30v_extract_return_value (struct type *, char *, char *); */ -/* OBSOLETE */ -/* OBSOLETE */ -/* OBSOLETE /* Discard from the stack the innermost frame, */ -/* OBSOLETE restoring all saved registers. */ */ -/* OBSOLETE #define POP_FRAME d30v_pop_frame(); */ -/* OBSOLETE extern void d30v_pop_frame (void); */ -/* OBSOLETE */ -/* OBSOLETE #define REGISTER_SIZE 4 */ -/* OBSOLETE */ -/* OBSOLETE /* Need to handle SP special, as we need to select between spu and spi. */ */ -/* OBSOLETE #if 0 /* XXX until the simulator is fixed */ */ -/* OBSOLETE #define TARGET_READ_SP() ((read_register (PSW_REGNUM) & PSW_SM) \ */ -/* OBSOLETE ? read_register (SPU_REGNUM) \ */ -/* OBSOLETE : read_register (SPI_REGNUM)) */ -/* OBSOLETE */ -/* OBSOLETE #define TARGET_WRITE_SP(val) ((read_register (PSW_REGNUM) & PSW_SM) \ */ -/* OBSOLETE ? write_register (SPU_REGNUM, (val)) \ */ -/* OBSOLETE : write_register (SPI_REGNUM, (val))) */ -/* OBSOLETE #endif */ -/* OBSOLETE */ -/* OBSOLETE #define STACK_ALIGN(len) (((len) + 7 ) & ~7) */ -/* OBSOLETE */ -/* OBSOLETE /* Turn this on to cause remote-sim.c to use sim_set/clear_breakpoint. */ */ -/* OBSOLETE */ -/* OBSOLETE #define SIM_HAS_BREAKPOINTS */ -/* OBSOLETE */ -/* OBSOLETE #endif /* TM_D30V_H */ */ diff --git a/gdb/config/fr30/fr30.mt b/gdb/config/fr30/fr30.mt deleted file mode 100644 index b702970..0000000 --- a/gdb/config/fr30/fr30.mt +++ /dev/null @@ -1,5 +0,0 @@ -# OBSOLETE # Target: Fujitsu FR30 processor -# OBSOLETE TDEPFILES= fr30-tdep.o -# OBSOLETE TM_FILE= tm-fr30.h -# OBSOLETE SIM_OBS = remote-sim.o -# OBSOLETE SIM = ../sim/fr30/libsim.a diff --git a/gdb/config/fr30/tm-fr30.h b/gdb/config/fr30/tm-fr30.h deleted file mode 100644 index 7a58337..0000000 --- a/gdb/config/fr30/tm-fr30.h +++ /dev/null @@ -1,233 +0,0 @@ -// OBSOLETE /* Parameters for execution on a Fujitsu FR30 processor. -// OBSOLETE Copyright 1999, 2000 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of GDB. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2 of the License, or -// OBSOLETE (at your option) any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License -// OBSOLETE along with this program; if not, write to the Free Software -// OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, -// OBSOLETE Boston, MA 02111-1307, USA. */ -// OBSOLETE -// OBSOLETE #include "regcache.h" -// OBSOLETE -// OBSOLETE #define FR30_GENREGS 16 -// OBSOLETE #define FR30_DEDICATEDREGS 8 -// OBSOLETE #define FR30_REGSIZE 4 /* bytes */ -// OBSOLETE -// OBSOLETE #define NUM_REGS (FR30_GENREGS + FR30_DEDICATEDREGS) -// OBSOLETE #define REGISTER_BYTES ((FR30_GENREGS + FR30_DEDICATEDREGS)*FR30_REGSIZE) -// OBSOLETE -// OBSOLETE /* Index within `registers' of the first byte of the space for -// OBSOLETE register N. */ -// OBSOLETE #define REGISTER_BYTE(N) ((N) * FR30_REGSIZE) -// OBSOLETE -// OBSOLETE /* Initializer for an array of names of registers. -// OBSOLETE There should be NUM_REGS strings in this initializer. */ -// OBSOLETE #define REGISTER_NAMES \ -// OBSOLETE { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", \ -// OBSOLETE "r9", "r10", "r11", "r12", "r13", "r14", "r15", \ -// OBSOLETE "pc", "ps", "tbr", "rp", "ssp", "usp", "mdh", "mdl" } -// OBSOLETE -// OBSOLETE /* Offset from address of function to start of its code. -// OBSOLETE Zero on most machines. */ -// OBSOLETE #define FUNCTION_START_OFFSET 0 -// OBSOLETE -// OBSOLETE /* Amount PC must be decremented by after a breakpoint. -// OBSOLETE This is often the number of bytes in BREAKPOINT -// OBSOLETE but not always. */ -// OBSOLETE -// OBSOLETE #define DECR_PC_AFTER_BREAK 0 -// OBSOLETE -// OBSOLETE /* Stack grows downward. */ -// OBSOLETE -// OBSOLETE #define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) -// 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 #define R8_REGNUM 8 -// OBSOLETE #define R9_REGNUM 9 -// OBSOLETE #define R10_REGNUM 10 -// OBSOLETE #define R11_REGNUM 11 -// OBSOLETE #define R12_REGNUM 12 -// OBSOLETE #define R13_REGNUM 13 -// OBSOLETE #define FP_REGNUM 14 /* Frame pointer */ -// OBSOLETE #define SP_REGNUM 15 /* Stack pointer */ -// OBSOLETE #define PC_REGNUM 16 /* Program counter */ -// OBSOLETE #define RP_REGNUM 19 /* Return pointer */ -// OBSOLETE -// OBSOLETE #define FIRST_ARGREG R4_REGNUM /* first arg (or struct ret val addr) */ -// OBSOLETE #define LAST_ARGREG R7_REGNUM /* fourth (or third arg) */ -// OBSOLETE #define RETVAL_REG R4_REGNUM /* return vaue */ -// OBSOLETE -// OBSOLETE /* Say how long (ordinary) registers are. This is a piece of bogosity -// OBSOLETE used in push_word and a few other places; REGISTER_RAW_SIZE is the -// OBSOLETE real way to know how big a register is. */ -// OBSOLETE #define REGISTER_SIZE FR30_REGSIZE -// OBSOLETE -// OBSOLETE /* Number of bytes of storage in the actual machine representation -// OBSOLETE for register N. */ -// OBSOLETE #define REGISTER_RAW_SIZE(N) FR30_REGSIZE -// OBSOLETE -// OBSOLETE /* Largest value REGISTER_RAW_SIZE can have. */ -// OBSOLETE #define MAX_REGISTER_RAW_SIZE FR30_REGSIZE -// OBSOLETE -// OBSOLETE /* Number of bytes of storage in the program's representation -// OBSOLETE for register N. */ -// OBSOLETE #define REGISTER_VIRTUAL_SIZE(N) REGISTER_RAW_SIZE(N) -// OBSOLETE -// OBSOLETE /* Largest value REGISTER_VIRTUAL_SIZE can have. */ -// OBSOLETE #define MAX_REGISTER_VIRTUAL_SIZE FR30_REGSIZE -// OBSOLETE -// OBSOLETE extern void fr30_pop_frame (void); -// OBSOLETE #define POP_FRAME fr30_pop_frame() -// OBSOLETE -// OBSOLETE #define 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 #define PUSH_RETURN_ADDRESS(PC, SP) (write_register(RP_REGNUM, CALL_DUMMY_ADDRESS()), SP) -// OBSOLETE #define PUSH_DUMMY_FRAME generic_push_dummy_frame () -// OBSOLETE -// OBSOLETE /* Number of bytes at start of arglist that are not really args. */ -// OBSOLETE #define FRAME_ARGS_SKIP 0 -// OBSOLETE -// OBSOLETE /* Return the GDB type object for the "standard" data type -// OBSOLETE of data in register N. */ -// OBSOLETE #define REGISTER_VIRTUAL_TYPE(REG) builtin_type_int -// 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 #define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ -// OBSOLETE memcpy (VALBUF, REGBUF + REGISTER_BYTE(RETVAL_REG) + \ -// OBSOLETE (TYPE_LENGTH(TYPE) < 4 ? 4 - TYPE_LENGTH(TYPE) : 0), 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 #define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \ -// OBSOLETE extract_address (REGBUF + REGISTER_BYTE (RETVAL_REG), \ -// OBSOLETE REGISTER_RAW_SIZE (RETVAL_REG)) -// OBSOLETE -// OBSOLETE #define STORE_STRUCT_RETURN(ADDR, SP) \ -// OBSOLETE { write_register (RETVAL_REG, (ADDR)); } -// OBSOLETE -// OBSOLETE #define FRAME_ARGS_ADDRESS(fi) ((fi)->frame) -// OBSOLETE #define FRAME_LOCALS_ADDRESS(fi) ((fi)->frame) -// OBSOLETE -// OBSOLETE /* Return number of args passed to a frame. -// OBSOLETE Can return -1, meaning no way to tell. */ -// OBSOLETE #define FRAME_NUM_ARGS(fi) (-1) -// OBSOLETE -// OBSOLETE /* Forward decls for prototypes */ -// OBSOLETE struct frame_info; -// OBSOLETE struct frame_saved_regs; -// OBSOLETE struct type; -// OBSOLETE struct value; -// OBSOLETE -// OBSOLETE #define EXTRA_FRAME_INFO \ -// OBSOLETE struct frame_saved_regs fsr; \ -// OBSOLETE int framesize; \ -// OBSOLETE int frameoffset; \ -// OBSOLETE int framereg; -// OBSOLETE -// OBSOLETE extern CORE_ADDR fr30_frame_chain (struct frame_info *fi); -// OBSOLETE #define FRAME_CHAIN(fi) fr30_frame_chain (fi) -// OBSOLETE -// OBSOLETE extern CORE_ADDR fr30_frame_saved_pc (struct frame_info *); -// OBSOLETE #define FRAME_SAVED_PC(fi) (fr30_frame_saved_pc (fi)) -// OBSOLETE -// OBSOLETE #define SAVED_PC_AFTER_CALL(fi) read_register (RP_REGNUM) -// OBSOLETE -// OBSOLETE extern CORE_ADDR fr30_skip_prologue (CORE_ADDR pc); -// OBSOLETE #define SKIP_PROLOGUE(pc) (fr30_skip_prologue (pc)) -// OBSOLETE -// OBSOLETE /* Write into appropriate registers a function return value of type -// OBSOLETE TYPE, given in virtual format. VALBUF is in the target byte order; -// OBSOLETE it's typically the VALUE_CONTENTS of some struct value, and those -// OBSOLETE are in the target's byte order. */ -// OBSOLETE extern void fr30_store_return_value (struct type *type, char *valbuf); -// OBSOLETE -// OBSOLETE #define STORE_RETURN_VALUE(TYPE,VALBUF) \ -// OBSOLETE (fr30_store_return_value ((TYPE), (VALBUF))) -// 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 #define FRAME_FIND_SAVED_REGS(fi, regaddr) regaddr = fi->fsr -// OBSOLETE -// OBSOLETE /* Use INT #BREAKPOINT_INTNUM instruction for breakpoint */ -// OBSOLETE #define FR30_BREAKOP 0x1f /* opcode, type D instruction */ -// OBSOLETE #define BREAKPOINT_INTNUM 9 /* one of the reserved traps */ -// OBSOLETE #define BREAKPOINT {FR30_BREAKOP, BREAKPOINT_INTNUM} -// OBSOLETE -// OBSOLETE /* Define this for Wingdb */ -// OBSOLETE #define TARGET_FR30 -// OBSOLETE -// OBSOLETE /* Define other aspects of the stack frame. */ -// OBSOLETE -// OBSOLETE /* An expression that tells us whether the function invocation represented -// OBSOLETE by FI does not have a frame on the stack associated with it. */ -// OBSOLETE extern int fr30_frameless_function_invocation (struct frame_info *frame); -// OBSOLETE #define FRAMELESS_FUNCTION_INVOCATION(FI) (fr30_frameless_function_invocation (FI)); -// OBSOLETE -// OBSOLETE extern void fr30_init_extra_frame_info (struct frame_info *fi); -// OBSOLETE #define INIT_EXTRA_FRAME_INFO(fromleaf, fi) fr30_init_extra_frame_info (fi) -// OBSOLETE -// OBSOLETE #define FRAME_CHAIN_VALID(FP, FI) generic_file_frame_chain_valid (FP, FI) -// OBSOLETE -// OBSOLETE extern CORE_ADDR -// OBSOLETE fr30_push_arguments (int nargs, struct value **args, CORE_ADDR sp, -// OBSOLETE int struct_return, CORE_ADDR struct_addr); -// OBSOLETE #define PUSH_ARGUMENTS(NARGS, ARGS, SP, STRUCT_RETURN, STRUCT_ADDR) \ -// OBSOLETE (fr30_push_arguments (NARGS, ARGS, SP, STRUCT_RETURN, STRUCT_ADDR)) -// OBSOLETE -// OBSOLETE #define PC_IN_CALL_DUMMY(PC, SP, FP) generic_pc_in_call_dummy (PC, SP, FP) -// OBSOLETE -// OBSOLETE /* Fujitsu's ABI requires all structs to be passed using a pointer. -// OBSOLETE That is obviously not very efficient, so I am leaving the definitions -// OBSOLETE to make gdb work with GCC style struct passing, in case we decide -// OBSOLETE to go for better performance, rather than for compatibility with -// OBSOLETE Fujitsu (just change STRUCT_ALWAYS_BY_ADDR to 0) */ -// OBSOLETE -// OBSOLETE #define STRUCT_ALWAYS_BY_ADDR 1 -// OBSOLETE -// OBSOLETE #if(STRUCT_ALWAYS_BY_ADDR) -// OBSOLETE #define REG_STRUCT_HAS_ADDR(gcc_p,type) 1 -// OBSOLETE #else -// OBSOLETE /* more standard GCC (optimized) */ -// OBSOLETE #define REG_STRUCT_HAS_ADDR(gcc_p,type) \ -// OBSOLETE ((TYPE_LENGTH(type) > 4) && (TYPE_LENGTH(type) & 0x3)) -// OBSOLETE #endif -// OBSOLETE /* alway return struct by value by input pointer */ -// OBSOLETE #define USE_STRUCT_CONVENTION(GCC_P, TYPE) 1 -// OBSOLETE -// OBSOLETE /* The stack should always be aligned on a four-word boundary. */ -// OBSOLETE #define STACK_ALIGN(len) (((len) + 3) & ~3) -// OBSOLETE -// OBSOLETE /* I think the comment about this in value_arg_coerce is wrong; this -// OBSOLETE should be true on any system where you can rely on the prototyping -// OBSOLETE information. When this is true, value_arg_coerce will promote -// OBSOLETE floats to doubles iff the function is not prototyped. */ -// OBSOLETE #define COERCE_FLOAT_TO_DOUBLE(formal, actual) (1) diff --git a/gdb/config/i386/i386aix.mh b/gdb/config/i386/i386aix.mh deleted file mode 100644 index df571bf..0000000 --- a/gdb/config/i386/i386aix.mh +++ /dev/null @@ -1,9 +0,0 @@ -# OBSOLETE # Host: IBM PS/2 (i386) running AIX PS/2 -# OBSOLETE -# OBSOLETE XM_FILE= xm-i386aix.h -# OBSOLETE -# OBSOLETE NAT_FILE= nm-i386aix.h -# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o i386aix-nat.o -# OBSOLETE -# OBSOLETE # Use gcc. Only coff output can be debugged -# OBSOLETE CC=gcc diff --git a/gdb/config/i386/i386aix.mt b/gdb/config/i386/i386aix.mt deleted file mode 100644 index 57d124d..0000000 --- a/gdb/config/i386/i386aix.mt +++ /dev/null @@ -1,7 +0,0 @@ -# OBSOLETE # This port, for aix ps/2 (i386), will allow you to debug the coff -# OBSOLETE # output generated gcc-2.3.3 + gas. It will not understand IBM's -# OBSOLETE # proprietary debug info. -# OBSOLETE # -# OBSOLETE # Target: IBM PS/2 (i386) running AIX PS/2 -# OBSOLETE TDEPFILES= i386-tdep.o i387-tdep.o -# OBSOLETE TM_FILE= tm-i386aix.h diff --git a/gdb/config/i386/i386m3.mh b/gdb/config/i386/i386m3.mh deleted file mode 100644 index 7b840e2..0000000 --- a/gdb/config/i386/i386m3.mh +++ /dev/null @@ -1,6 +0,0 @@ -# OBSOLETE # Host: Intel 386 running Mach3 -# OBSOLETE -# OBSOLETE NATDEPFILES= i386m3-nat.o m3-nat.o fork-child.o i387-tdep.o core-aout.o -# OBSOLETE NAT_CLIBS= -lmachid -lnetname -lmach -# OBSOLETE XM_FILE= xm-i386m3.h -# OBSOLETE NAT_FILE= nm-m3.h diff --git a/gdb/config/i386/i386m3.mt b/gdb/config/i386/i386m3.mt deleted file mode 100644 index 550e92e..0000000 --- a/gdb/config/i386/i386m3.mt +++ /dev/null @@ -1,3 +0,0 @@ -# OBSOLETE # Target: Intel 386 with a.out under Mach 3 -# OBSOLETE TDEPFILES= i386-tdep.o -# OBSOLETE TM_FILE= tm-i386m3.h diff --git a/gdb/config/i386/i386mach.mh b/gdb/config/i386/i386mach.mh deleted file mode 100644 index 4e4e097..0000000 --- a/gdb/config/i386/i386mach.mh +++ /dev/null @@ -1,9 +0,0 @@ -# OBSOLETE # Host: Intel 386 running Mach -# OBSOLETE -# OBSOLETE # This is for mach2, maybe, or is obsolete (and seems to have only -# OBSOLETE # host and native, not target). Once we get the mach3 stuff working, -# OBSOLETE # I think it can go away. -# OBSOLETE -# OBSOLETE XM_FILE= xm-i386mach.h -# OBSOLETE NAT_FILE= nm-i386mach.h -# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o i386mach-nat.o diff --git a/gdb/config/i386/i386os9k.mt b/gdb/config/i386/i386os9k.mt deleted file mode 100644 index 939e9e2..0000000 --- a/gdb/config/i386/i386os9k.mt +++ /dev/null @@ -1,3 +0,0 @@ -# OBSOLETE # Target: Intel 386 running OS9000 -# OBSOLETE TDEPFILES= i386-tdep.o remote-os9k.o -# OBSOLETE TM_FILE= tm-i386os9k.h diff --git a/gdb/config/i386/nm-i386aix.h b/gdb/config/i386/nm-i386aix.h deleted file mode 100644 index 08f0779..0000000 --- a/gdb/config/i386/nm-i386aix.h +++ /dev/null @@ -1,43 +0,0 @@ -// OBSOLETE /* Native support for i386 aix ps/2. -// OBSOLETE Copyright 1986, 1987, 1989, 1992, 1993 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 /* -// OBSOLETE * Changes for IBM AIX PS/2 by Minh Tran-Le (tranle@intellicorp.com) -// OBSOLETE * Revision: 5-May-93 00:11:35 -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #ifndef NM_I386AIX_H -// OBSOLETE #define NM_I386AIX_H 1 -// OBSOLETE -// OBSOLETE /* code to execute to print interesting information about the -// OBSOLETE * floating point processor (if any) -// OBSOLETE * No need to define if there is nothing to do. -// OBSOLETE */ -// OBSOLETE #define FLOAT_INFO { i386_float_info (); } -// 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 #undef KERNEL_U_ADDR -// OBSOLETE #define KERNEL_U_ADDR 0xf03fd000 -// OBSOLETE -// OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ -// OBSOLETE #define FETCH_INFERIOR_REGISTERS -// OBSOLETE -// OBSOLETE #endif /* NM_I386AIX_H */ diff --git a/gdb/config/i386/nm-i386mach.h b/gdb/config/i386/nm-i386mach.h deleted file mode 100644 index 21f3c61..0000000 --- a/gdb/config/i386/nm-i386mach.h +++ /dev/null @@ -1,30 +0,0 @@ -// OBSOLETE /* Native definitions for Mach on an Intel 386 -// OBSOLETE Copyright 1986, 1987, 1989, 1991, 1992, 1996 -// 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 /* Do implement the attach and detach commands. */ -// OBSOLETE /* #define ATTACH_DETACH 1 */ -// OBSOLETE -// OBSOLETE /* Override copies of {fetch,store}_inferior_registers in infptrace.c. */ -// OBSOLETE #define FETCH_INFERIOR_REGISTERS -// OBSOLETE -// OBSOLETE #define CHILD_PREPARE_TO_STORE() read_register_bytes (0, NULL, REGISTER_BYTES) diff --git a/gdb/config/i386/nm-m3.h b/gdb/config/i386/nm-m3.h deleted file mode 100644 index 87d587b..0000000 --- a/gdb/config/i386/nm-m3.h +++ /dev/null @@ -1,23 +0,0 @@ -// OBSOLETE /* Native-dependent definitions for Intel 386 running Mach 3. -// OBSOLETE Copyright 1994 Free Software Foundation, Inc. -// OBSOLETE -// OBSOLETE This file is part of GDB. -// OBSOLETE -// OBSOLETE This program is free software; you can redistribute it and/or modify -// OBSOLETE it under the terms of the GNU General Public License as published by -// OBSOLETE the Free Software Foundation; either version 2 of the License, or -// OBSOLETE (at your option) any later version. -// OBSOLETE -// OBSOLETE This program is distributed in the hope that it will be useful, -// OBSOLETE but WITHOUT ANY WARRANTY; without even the implied warranty of -// OBSOLETE MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// OBSOLETE GNU General Public License for more details. -// OBSOLETE -// OBSOLETE You should have received a copy of the GNU General Public License -// OBSOLETE along with this program; if not, write to the Free Software -// OBSOLETE Foundation, Inc., 59 Temple Place - Suite 330, -// OBSOLETE Boston, MA 02111-1307, USA. */ -// OBSOLETE -// OBSOLETE /* Include the generic Mach 3 definitions. */ -// OBSOLETE -// OBSOLETE #include "config/nm-m3.h" diff --git a/gdb/config/i386/tm-i386aix.h b/gdb/config/i386/tm-i386aix.h deleted file mode 100644 index fe11420..0000000 --- a/gdb/config/i386/tm-i386aix.h +++ /dev/null @@ -1,48 +0,0 @@ -// OBSOLETE /* Macro defintions for IBM AIX PS/2 (i386). -// OBSOLETE Copyright 1986, 1987, 1989, 1992, 1993, 1994, 1995, 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 /* Changes for IBM AIX PS/2 by Minh Tran-Le (tranle@intellicorp.com). */ -// OBSOLETE -// OBSOLETE #ifndef TM_I386AIX_H -// OBSOLETE #define TM_I386AIX_H 1 -// OBSOLETE -// OBSOLETE #include "i386/tm-i386.h" -// OBSOLETE #include <sys/reg.h> -// OBSOLETE -// OBSOLETE #ifndef I386 -// OBSOLETE #define I386 1 -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE /* AIX/i386 has FPU support. However, the native configuration (which -// OBSOLETE is the only supported configuration) doesn't make the FPU control -// OBSOLETE registers available. Override the appropriate symbols such that -// OBSOLETE only the normal FPU registers are included in GDB's register array. */ -// OBSOLETE -// OBSOLETE #undef NUM_FPREGS -// OBSOLETE #define NUM_FPREGS (8) -// OBSOLETE -// OBSOLETE #undef NUM_REGS -// OBSOLETE #define NUM_REGS (NUM_GREGS + NUM_FPREGS) -// OBSOLETE -// OBSOLETE #undef REGISTER_BYTES -// OBSOLETE #define REGISTER_BYTES (SIZEOF_GREGS + SIZEOF_FPU_REGS) -// OBSOLETE -// OBSOLETE #endif /* TM_I386AIX_H */ diff --git a/gdb/config/i386/tm-i386m3.h b/gdb/config/i386/tm-i386m3.h deleted file mode 100644 index cadd5cd..0000000 --- a/gdb/config/i386/tm-i386m3.h +++ /dev/null @@ -1,56 +0,0 @@ -// OBSOLETE /* Macro definitions for i386, Mach 3.0 -// OBSOLETE Copyright 1992, 1993, 1995, 1999 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 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 #define MACHINE_CPROC_SP_OFFSET 20 -// OBSOLETE #define MACHINE_CPROC_PC_OFFSET 16 -// OBSOLETE #define MACHINE_CPROC_FP_OFFSET 12 -// OBSOLETE -// OBSOLETE /* Thread flavors used in re-setting the T bit. -// OBSOLETE * @@ this is also bad for cross debugging. -// OBSOLETE */ -// OBSOLETE #define TRACE_FLAVOR i386_THREAD_STATE -// OBSOLETE #define TRACE_FLAVOR_SIZE i386_THREAD_STATE_COUNT -// OBSOLETE #define TRACE_SET(x,state) \ -// OBSOLETE ((struct i386_thread_state *)state)->efl |= 0x100 -// OBSOLETE #define TRACE_CLEAR(x,state) \ -// OBSOLETE ((((struct i386_thread_state *)state)->efl &= ~0x100), 1) -// OBSOLETE -// OBSOLETE /* we can do it */ -// OBSOLETE #define ATTACH_DETACH 1 -// OBSOLETE -// OBSOLETE /* Sigh. There should be a file for i386 but no sysv stuff in it */ -// OBSOLETE #include "i386/tm-i386.h" -// OBSOLETE -// OBSOLETE /* I want to test this float info code. See comment in tm-i386v.h */ -// OBSOLETE #undef FLOAT_INFO -// OBSOLETE #define FLOAT_INFO { i386_mach3_float_info (); } -// OBSOLETE -// OBSOLETE /* Address of end of stack space. -// OBSOLETE * for MACH, see <machine/vmparam.h> -// OBSOLETE * @@@ I don't know what is in the 5 ints... -// OBSOLETE */ -// OBSOLETE #undef STACK_END_ADDR -// OBSOLETE #define STACK_END_ADDR (0xc0000000-sizeof(int [5])) diff --git a/gdb/config/i386/tm-i386mk.h b/gdb/config/i386/tm-i386mk.h deleted file mode 100644 index 74355a8..0000000 --- a/gdb/config/i386/tm-i386mk.h +++ /dev/null @@ -1,38 +0,0 @@ -// OBSOLETE /* Macro definitions for i386, Mach 3.0, OSF 1/MK -// OBSOLETE Copyright 1992, 1993, 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 /* Until OSF switches to a newer Mach kernel that has -// OBSOLETE * a different get_emul_vector() interface. -// OBSOLETE */ -// OBSOLETE #define MK67 1 -// OBSOLETE -// OBSOLETE #include "i386/tm-i386m3.h" -// OBSOLETE -// OBSOLETE /* FIMXE: kettenis/2000-03-26: On OSF 1, `long double' is equivalent -// OBSOLETE to `double'. However, I'm not sure what is the consequence of: -// OBSOLETE -// OBSOLETE #define TARGET_LONG_DOUBLE_FORMAT TARGET_DOUBLE_FORMAT -// OBSOLETE #define TARGET_LONG_DOUBLE_BIT TARGET_DOUBLE_BIT -// OBSOLETE -// OBSOLETE So I'll go with the current status quo instead. It looks like this -// OBSOLETE target won't compile anyway. Perhaps it should be obsoleted? */ -// OBSOLETE -// OBSOLETE #undef TARGET_LONG_DOUBLE_FORMAT -// OBSOLETE #undef TARGET_LONG_DOUBLE_BIT diff --git a/gdb/config/i386/xm-i386aix.h b/gdb/config/i386/xm-i386aix.h deleted file mode 100644 index 03cb86c..0000000 --- a/gdb/config/i386/xm-i386aix.h +++ /dev/null @@ -1,29 +0,0 @@ -// OBSOLETE /* Macro defintions for AIX PS/2 (i386) -// OBSOLETE Copyright 1986, 1987, 1989, 1992, 1993 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 /* -// OBSOLETE * Changed for IBM AIX ps/2 by Minh Tran Le (tranle@intellicorp.com) -// OBSOLETE * Revision: 23-Oct-92 17:42:49 -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #include "i386/xm-i386v.h" -// OBSOLETE -// OBSOLETE #undef HAVE_TERMIO -// OBSOLETE #define HAVE_SGTTY diff --git a/gdb/config/i386/xm-i386m3.h b/gdb/config/i386/xm-i386m3.h deleted file mode 100644 index da44215..0000000 --- a/gdb/config/i386/xm-i386m3.h +++ /dev/null @@ -1,33 +0,0 @@ -// OBSOLETE /* Definitions to make GDB run on Mach 3 on an Intel 386 -// OBSOLETE Copyright 1986, 1987, 1989, 1991, 1993, 1994, 1996 -// 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 /* Do implement the attach and detach commands. */ -// OBSOLETE #define ATTACH_DETACH 1 -// OBSOLETE -// OBSOLETE /* Not needeed */ -// OBSOLETE #define KERNEL_U_ADDR 0 -// OBSOLETE -// OBSOLETE #ifndef EMULATOR_BASE -// OBSOLETE /* For EMULATOR_BASE and EMULATOR_END. -// OBSOLETE * OSF 1/MK has different values in some other place. -// OBSOLETE */ -// OBSOLETE #include <machine/vmparam.h> -// OBSOLETE #endif /* EMULATOR_BASE */ diff --git a/gdb/config/i386/xm-i386mach.h b/gdb/config/i386/xm-i386mach.h deleted file mode 100644 index b36c79c..0000000 --- a/gdb/config/i386/xm-i386mach.h +++ /dev/null @@ -1,28 +0,0 @@ -// OBSOLETE /* Definitions to make GDB run on Mach on an Intel 386 -// OBSOLETE Copyright 1986, 1987, 1989, 1991, 1992, 1994, 1996, 2001 -// 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 /* 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 #define KERNEL_U_ADDR (0x80000000 - (UPAGES * NBPG)) -// OBSOLETE -// OBSOLETE /* <errno.h> only defines this if __STDC__!!! */ -// OBSOLETE extern int errno; diff --git a/gdb/config/i386/xm-i386mk.h b/gdb/config/i386/xm-i386mk.h deleted file mode 100644 index 4609604..0000000 --- a/gdb/config/i386/xm-i386mk.h +++ /dev/null @@ -1,26 +0,0 @@ -// OBSOLETE /* Definitions to make GDB run on Mach 3 OSF 1/MK on an Intel 386 -// 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 #define HAVE_TERMIO 1 -// OBSOLETE -// OBSOLETE #define EMULATOR_BASE 0xa0000000 -// OBSOLETE #define EMULATOR_END 0xa0040000 -// OBSOLETE -// OBSOLETE #include "i386/xm-i386m3.h" diff --git a/gdb/config/i960/mon960.mt b/gdb/config/i960/mon960.mt deleted file mode 100644 index c735d94..0000000 --- a/gdb/config/i960/mon960.mt +++ /dev/null @@ -1,5 +0,0 @@ -# OBSOLETE # Target: Intel 960 rom monitor -# OBSOLETE TDEPFILES= i960-tdep.o monitor.o mon960-rom.o ttyflush.o xmodem.o dsrec.o -# OBSOLETE TM_FILE= tm-mon960.h -# OBSOLETE SIM_OBS = remote-sim.o -# OBSOLETE SIM = ../sim/i960/libsim.a diff --git a/gdb/config/i960/nindy960.mt b/gdb/config/i960/nindy960.mt deleted file mode 100644 index 5ed15a8..0000000 --- a/gdb/config/i960/nindy960.mt +++ /dev/null @@ -1,3 +0,0 @@ -# OBSOLETE # Target: Intel 80960, in an embedded system under the NINDY monitor -# OBSOLETE TDEPFILES= i960-tdep.o nindy-tdep.o remote-nindy.o nindy.o Onindy.o ttyflush.o -# OBSOLETE TM_FILE= tm-nindy960.h diff --git a/gdb/config/i960/tm-i960.h b/gdb/config/i960/tm-i960.h deleted file mode 100644 index 91bdf91..0000000 --- a/gdb/config/i960/tm-i960.h +++ /dev/null @@ -1,345 +0,0 @@ -// OBSOLETE /* Parameters for target machine Intel 960, for GDB, the GNU debugger. -// OBSOLETE -// OBSOLETE Copyright 1990, 1991, 1993, 1994, 1996, 1998, 1999, 2000, 2002 Free -// OBSOLETE Software Foundation, Inc. -// OBSOLETE -// OBSOLETE Contributed by Intel Corporation. -// 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 /* Definitions to target GDB to any i960. */ -// OBSOLETE -// OBSOLETE #ifndef I80960 -// OBSOLETE #define I80960 -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE #include "doublest.h" -// OBSOLETE -// OBSOLETE /* Hook for the SYMBOL_CLASS of a parameter when decoding DBX symbol -// OBSOLETE information. In the i960, parameters can be stored as locals or as -// OBSOLETE args, depending on the type of the debug record. -// OBSOLETE -// OBSOLETE From empirical observation, gcc960 uses N_LSYM to indicate -// OBSOLETE arguments passed in registers and then copied immediately -// OBSOLETE to the frame, and N_PSYM to indicate arguments passed in a -// OBSOLETE g14-relative argument block. */ -// OBSOLETE -// OBSOLETE #define DBX_PARM_SYMBOL_CLASS(type) ((type == N_LSYM)? LOC_LOCAL_ARG: LOC_ARG) -// 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 ip across any function entry prologue instructions -// OBSOLETE to reach some "real" code. */ -// OBSOLETE -// OBSOLETE #define SKIP_PROLOGUE(ip) (i960_skip_prologue (ip)) -// OBSOLETE extern CORE_ADDR i960_skip_prologue (); -// OBSOLETE -// OBSOLETE /* Immediately after a function call, return the saved ip. -// 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 -// OBSOLETE executes some instructions. */ -// OBSOLETE -// OBSOLETE #define SAVED_PC_AFTER_CALL(frame) (saved_pc_after_call (frame)) -// OBSOLETE extern CORE_ADDR saved_pc_after_call (); -// OBSOLETE -// OBSOLETE /* Stack grows upward */ -// OBSOLETE -// OBSOLETE #define INNER_THAN(lhs,rhs) ((lhs) > (rhs)) -// OBSOLETE -// OBSOLETE /* Say how long (ordinary) registers are. This is a piece of bogosity -// OBSOLETE used in push_word and a few other places; REGISTER_RAW_SIZE is the -// OBSOLETE real way to know how big a register is. */ -// OBSOLETE -// OBSOLETE #define REGISTER_SIZE 4 -// OBSOLETE -// OBSOLETE /* Number of machine registers */ -// OBSOLETE #define NUM_REGS 40 -// OBSOLETE -// OBSOLETE /* Initializer for an array of names of registers. -// OBSOLETE There should be NUM_REGS strings in this initializer. */ -// OBSOLETE -// OBSOLETE #define REGISTER_NAMES { \ -// OBSOLETE /* 0 */ "pfp", "sp", "rip", "r3", "r4", "r5", "r6", "r7", \ -// OBSOLETE /* 8 */ "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15",\ -// OBSOLETE /* 16 */ "g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7", \ -// OBSOLETE /* 24 */ "g8", "g9", "g10", "g11", "g12", "g13", "g14", "fp", \ -// OBSOLETE /* 32 */ "pcw", "ac", "tc", "ip", "fp0", "fp1", "fp2", "fp3",\ -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Register numbers of various important registers (used to index -// OBSOLETE into arrays of register names and register values). */ -// OBSOLETE -// OBSOLETE #define R0_REGNUM 0 /* First local register */ -// OBSOLETE #define SP_REGNUM 1 /* Contains address of top of stack */ -// OBSOLETE #define RIP_REGNUM 2 /* Return instruction pointer (local r2) */ -// OBSOLETE #define R15_REGNUM 15 /* Last local register */ -// OBSOLETE #define G0_REGNUM 16 /* First global register */ -// OBSOLETE #define G13_REGNUM 29 /* g13 - holds struct return address */ -// OBSOLETE #define G14_REGNUM 30 /* g14 - ptr to arg block / leafproc return address */ -// OBSOLETE #define FP_REGNUM 31 /* Contains address of executing stack frame */ -// OBSOLETE #define PCW_REGNUM 32 /* process control word */ -// OBSOLETE #define ACW_REGNUM 33 /* arithmetic control word */ -// OBSOLETE #define TCW_REGNUM 34 /* trace control word */ -// OBSOLETE #define IP_REGNUM 35 /* instruction pointer */ -// OBSOLETE #define FP0_REGNUM 36 /* First floating point register */ -// OBSOLETE -// OBSOLETE /* Some registers have more than one name */ -// OBSOLETE -// OBSOLETE #define PC_REGNUM IP_REGNUM /* GDB refers to ip as the Program Counter */ -// OBSOLETE #define PFP_REGNUM R0_REGNUM /* Previous frame pointer */ -// OBSOLETE -// OBSOLETE /* Total amount of space needed to store our copies of the machine's -// OBSOLETE register state, the array `registers'. */ -// OBSOLETE #define REGISTER_BYTES ((36*4) + (4*10)) -// OBSOLETE -// OBSOLETE /* Index within `registers' of the first byte of the space for register N. */ -// OBSOLETE -// OBSOLETE #define REGISTER_BYTE(N) ( (N) < FP0_REGNUM ? \ -// OBSOLETE (4*(N)) : ((10*(N)) - (6*FP0_REGNUM)) ) -// OBSOLETE -// OBSOLETE /* The i960 has register windows, sort of. */ -// OBSOLETE -// OBSOLETE extern void i960_get_saved_register (char *raw_buffer, -// OBSOLETE int *optimized, -// OBSOLETE CORE_ADDR *addrp, -// OBSOLETE struct frame_info *frame, -// OBSOLETE int regnum, -// OBSOLETE enum lval_type *lval); -// OBSOLETE -// OBSOLETE #define GET_SAVED_REGISTER(raw_buffer, optimized, addrp, frame, regnum, lval) \ -// OBSOLETE i960_get_saved_register(raw_buffer, optimized, addrp, frame, regnum, lval) -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Number of bytes of storage in the actual machine representation -// OBSOLETE for register N. On the i960, all regs are 4 bytes except for floating -// OBSOLETE point, which are 10. NINDY only sends us 8 byte values for these, -// OBSOLETE which is a pain, but VxWorks handles this correctly, so we must. */ -// OBSOLETE -// OBSOLETE #define REGISTER_RAW_SIZE(N) ( (N) < FP0_REGNUM ? 4 : 10 ) -// OBSOLETE -// OBSOLETE /* Number of bytes of storage in the program's representation for register N. */ -// OBSOLETE -// OBSOLETE #define REGISTER_VIRTUAL_SIZE(N) ( (N) < FP0_REGNUM ? 4 : 8 ) -// OBSOLETE -// OBSOLETE /* Largest value REGISTER_RAW_SIZE can have. */ -// OBSOLETE -// OBSOLETE #define MAX_REGISTER_RAW_SIZE 10 -// OBSOLETE -// OBSOLETE /* Largest value REGISTER_VIRTUAL_SIZE can have. */ -// OBSOLETE -// OBSOLETE #define MAX_REGISTER_VIRTUAL_SIZE 8 -// OBSOLETE -// OBSOLETE #include "floatformat.h" -// OBSOLETE -// OBSOLETE #define TARGET_LONG_DOUBLE_FORMAT &floatformat_i960_ext -// OBSOLETE -// OBSOLETE /* Return the GDB type object for the "standard" data type -// OBSOLETE of data in register N. */ -// OBSOLETE -// OBSOLETE struct type *i960_register_type (int regnum); -// OBSOLETE #define REGISTER_VIRTUAL_TYPE(N) i960_register_type (N) -// OBSOLETE -// OBSOLETE /* Macros for understanding function return values... */ -// OBSOLETE -// OBSOLETE /* Does the specified function use the "struct returning" convention -// OBSOLETE or the "value returning" convention? The "value returning" convention -// OBSOLETE almost invariably returns the entire value in registers. The -// OBSOLETE "struct returning" convention often returns the entire value in -// OBSOLETE memory, and passes a pointer (out of or into the function) saying -// OBSOLETE where the value (is or should go). -// OBSOLETE -// OBSOLETE Since this sometimes depends on whether it was compiled with GCC, -// OBSOLETE this is also an argument. This is used in call_function to build a -// OBSOLETE stack, and in value_being_returned to print return values. -// OBSOLETE -// OBSOLETE On i960, a structure is returned in registers g0-g3, if it will fit. -// OBSOLETE If it's more than 16 bytes long, g13 pointed to it on entry. */ -// OBSOLETE -// OBSOLETE extern use_struct_convention_fn i960_use_struct_convention; -// OBSOLETE #define USE_STRUCT_CONVENTION(gcc_p, type) i960_use_struct_convention (gcc_p, type) -// 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 only called if USE_STRUCT_CONVENTION for this -// OBSOLETE type is 0. -// OBSOLETE -// OBSOLETE On the i960 we just take as many bytes as we need from G0 through G3. */ -// OBSOLETE -// OBSOLETE #define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ -// OBSOLETE memcpy(VALBUF, REGBUF+REGISTER_BYTE(G0_REGNUM), TYPE_LENGTH (TYPE)) -// OBSOLETE -// OBSOLETE /* If USE_STRUCT_CONVENTION produces a 1, -// 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 Address of where to put structure was passed in in global -// OBSOLETE register g13 on entry. God knows what's in g13 now. The -// OBSOLETE (..., 0) below is to make it appear to return a value, though -// OBSOLETE actually all it does is call error(). */ -// OBSOLETE -// OBSOLETE #define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) \ -// OBSOLETE (error("Don't know where large structure is returned on i960"), 0) -// OBSOLETE -// OBSOLETE /* Write into appropriate registers a function return value -// OBSOLETE of type TYPE, given in virtual format, for "value returning" functions. -// OBSOLETE -// OBSOLETE For 'return' command: not (yet) implemented for i960. */ -// OBSOLETE -// OBSOLETE #define STORE_RETURN_VALUE(TYPE,VALBUF) \ -// OBSOLETE error ("Returning values from functions is not implemented in i960 gdb") -// 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 error ("Returning values from functions is not implemented in i960 gdb") -// 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 -// OBSOLETE and produces the frame's chain-pointer. -// OBSOLETE -// OBSOLETE However, if FRAME_CHAIN_VALID returns zero, -// OBSOLETE it means the given frame is the outermost one and has no caller. */ -// OBSOLETE -// OBSOLETE /* We cache information about saved registers in the frame structure, -// OBSOLETE to save us from having to re-scan function prologues every time -// OBSOLETE a register in a non-current frame is accessed. */ -// OBSOLETE -// OBSOLETE #define EXTRA_FRAME_INFO \ -// OBSOLETE struct frame_saved_regs *fsr; \ -// OBSOLETE CORE_ADDR arg_pointer; -// OBSOLETE -// OBSOLETE /* Zero the frame_saved_regs pointer when the frame is initialized, -// OBSOLETE so that FRAME_FIND_SAVED_REGS () will know to allocate and -// OBSOLETE initialize a frame_saved_regs struct the first time it is called. -// OBSOLETE Set the arg_pointer to -1, which is not valid; 0 and other values -// OBSOLETE indicate real, cached values. */ -// OBSOLETE -// OBSOLETE #define INIT_EXTRA_FRAME_INFO(fromleaf, fi) \ -// OBSOLETE ((fi)->fsr = 0, (fi)->arg_pointer = -1) -// OBSOLETE -// OBSOLETE /* On the i960, we get the chain pointer by reading the PFP saved -// OBSOLETE on the stack and clearing the status bits. */ -// OBSOLETE -// OBSOLETE #define FRAME_CHAIN(thisframe) \ -// OBSOLETE (read_memory_integer (FRAME_FP(thisframe), 4) & ~0xf) -// OBSOLETE -// OBSOLETE /* FRAME_CHAIN_VALID returns zero if the given frame is the outermost one -// OBSOLETE and has no caller. -// OBSOLETE -// OBSOLETE On the i960, each various target system type must define FRAME_CHAIN_VALID, -// OBSOLETE since it differs between NINDY and VxWorks, the two currently supported -// OBSOLETE targets types. We leave it undefined here. */ -// OBSOLETE -// 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 CORE_ADDR leafproc_return (CORE_ADDR ip); -// OBSOLETE #define FRAMELESS_FUNCTION_INVOCATION(FI) \ -// OBSOLETE (leafproc_return ((FI)->pc) != 0) -// OBSOLETE -// OBSOLETE /* Note that in the i960 architecture the return pointer is saved in the -// OBSOLETE *caller's* stack frame. -// OBSOLETE -// OBSOLETE Make sure to zero low-order bits because of bug in 960CA A-step part -// OBSOLETE (instruction addresses should always be word-aligned anyway). */ -// OBSOLETE -// OBSOLETE #define FRAME_SAVED_PC(frame) \ -// OBSOLETE ((read_memory_integer(FRAME_CHAIN(frame)+8,4)) & ~3) -// OBSOLETE -// OBSOLETE /* On the i960, FRAME_ARGS_ADDRESS should return the value of -// OBSOLETE g14 as passed into the frame, if known. We need a function for this. -// OBSOLETE We cache this value in the frame info if we've already looked it up. */ -// OBSOLETE -// OBSOLETE #define FRAME_ARGS_ADDRESS(fi) \ -// OBSOLETE (((fi)->arg_pointer != -1)? (fi)->arg_pointer: frame_args_address (fi, 0)) -// OBSOLETE extern CORE_ADDR frame_args_address (); /* i960-tdep.c */ -// OBSOLETE -// OBSOLETE /* This is the same except it should return 0 when -// OBSOLETE it does not really know where the args are, rather than guessing. -// OBSOLETE This value is not cached since it is only used infrequently. */ -// OBSOLETE -// OBSOLETE #define FRAME_ARGS_ADDRESS_CORRECT(fi) (frame_args_address (fi, 1)) -// OBSOLETE -// OBSOLETE #define FRAME_LOCALS_ADDRESS(fi) (fi)->frame -// OBSOLETE -// OBSOLETE /* Set NUMARGS to the number of args passed to a frame. -// OBSOLETE Can return -1, meaning no way to tell. */ -// 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 /* Produce the positions of the saved registers in a stack frame. */ -// OBSOLETE -// OBSOLETE #define FRAME_FIND_SAVED_REGS(frame_info_addr, sr) \ -// OBSOLETE frame_find_saved_regs (frame_info_addr, &sr) -// OBSOLETE extern void frame_find_saved_regs (); /* See i960-tdep.c */ -// OBSOLETE -// OBSOLETE /* Things needed for making calls to functions in the inferior process */ -// OBSOLETE -// OBSOLETE /* Push an empty stack frame, to record the current ip, etc. -// OBSOLETE -// OBSOLETE Not (yet?) implemented for i960. */ -// OBSOLETE -// OBSOLETE #define PUSH_DUMMY_FRAME \ -// OBSOLETE error("Function calls into the inferior process are not supported on the i960") -// OBSOLETE -// OBSOLETE /* Discard from the stack the innermost frame, restoring all registers. */ -// OBSOLETE -// OBSOLETE -// OBSOLETE void i960_pop_frame (void); -// OBSOLETE #define POP_FRAME \ -// OBSOLETE i960_pop_frame () -// OBSOLETE -// OBSOLETE -// OBSOLETE /* This sequence of words is the instructions -// OBSOLETE -// OBSOLETE callx 0x00000000 -// OBSOLETE fmark -// OBSOLETE */ -// OBSOLETE -// OBSOLETE /* #define CALL_DUMMY { 0x86003000, 0x00000000, 0x66003e00 } */ -// OBSOLETE -// OBSOLETE /* #define CALL_DUMMY_START_OFFSET 0 *//* Start execution at beginning of dummy */ -// OBSOLETE -// OBSOLETE /* Indicate that we don't support calling inferior child functions. */ -// OBSOLETE -// OBSOLETE #undef CALL_DUMMY -// OBSOLETE -// OBSOLETE /* Insert the specified number of args and function address -// OBSOLETE into a call sequence of the above form stored at 'dummyname'. -// OBSOLETE -// OBSOLETE Ignore arg count on i960. */ -// OBSOLETE -// OBSOLETE /* #define FIX_CALL_DUMMY(dummyname, fun, nargs) *(((int *)dummyname)+1) = fun */ -// OBSOLETE -// OBSOLETE #undef FIX_CALL_DUMMY -// OBSOLETE -// OBSOLETE -// OBSOLETE /* Interface definitions for kernel debugger KDB */ -// OBSOLETE /* (Not relevant to i960.) */ diff --git a/gdb/config/i960/tm-mon960.h b/gdb/config/i960/tm-mon960.h deleted file mode 100644 index dedce0e..0000000 --- a/gdb/config/i960/tm-mon960.h +++ /dev/null @@ -1,69 +0,0 @@ -// OBSOLETE /* Parameters for Intel 960 running MON960 monitor, for GDB, the GNU debugger. -// OBSOLETE Copyright 1990, 1991, 1996, 1999, 2000 Free Software Foundation, Inc. -// OBSOLETE Contributed by Intel Corporation and Cygnus Support. -// 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 /***************************************************************************** -// OBSOLETE * Definitions to target GDB to an i960 debugged over a serial line. -// OBSOLETE ******************************************************************************/ -// OBSOLETE -// OBSOLETE #include "i960/tm-i960.h" -// OBSOLETE -// OBSOLETE /* forward declarations */ -// OBSOLETE struct frame_info; -// OBSOLETE -// OBSOLETE /* redefined from tm-i960.h */ -// OBSOLETE /* Number of machine registers */ -// OBSOLETE #undef NUM_REGS -// OBSOLETE #define NUM_REGS 40 -// OBSOLETE -// OBSOLETE /* Initializer for an array of names of registers. -// OBSOLETE There should be NUM_REGS strings in this initializer. */ -// OBSOLETE #undef REGISTER_NAMES -// OBSOLETE #define REGISTER_NAMES { \ -// OBSOLETE /* 0 */ "pfp", "sp", "rip", "r3", "r4", "r5", "r6", "r7", \ -// OBSOLETE /* 8 */ "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15",\ -// OBSOLETE /* 16 */ "g0", "g1", "g2", "g3", "g4", "g5", "g6", "g7", \ -// OBSOLETE /* 24 */ "g8", "g9", "g10", "g11", "g12", "g13", "g14", "fp", \ -// OBSOLETE /* 32 */ "pc", "ac", "tc", "ip", "fp0", "fp1", "fp2", "fp3",\ -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Override the standard gdb prompt when compiled for this target. */ -// OBSOLETE -// OBSOLETE #define DEFAULT_PROMPT "(gdb960) " -// OBSOLETE -// OBSOLETE /* FRAME_CHAIN_VALID returns zero if the given frame is the outermost one -// OBSOLETE and has no caller. -// OBSOLETE -// OBSOLETE On the i960, each various target system type defines FRAME_CHAIN_VALID, -// OBSOLETE since it differs between Nindy, Mon960 and VxWorks, the currently supported -// OBSOLETE target types. */ -// OBSOLETE -// OBSOLETE extern int mon960_frame_chain_valid (CORE_ADDR, struct frame_info *); -// OBSOLETE #define FRAME_CHAIN_VALID(chain, thisframe) mon960_frame_chain_valid (chain, thisframe) -// OBSOLETE -// OBSOLETE /* Sequence of bytes for breakpoint instruction */ -// OBSOLETE -// OBSOLETE #define BREAKPOINT {0x00, 0x3e, 0x00, 0x66} -// OBSOLETE -// OBSOLETE /* Amount ip must be decremented by after a breakpoint. -// OBSOLETE * This is often the number of bytes in BREAKPOINT but not always. -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #define DECR_PC_AFTER_BREAK 4 diff --git a/gdb/config/i960/tm-nindy960.h b/gdb/config/i960/tm-nindy960.h deleted file mode 100644 index 6a6dca2..0000000 --- a/gdb/config/i960/tm-nindy960.h +++ /dev/null @@ -1,106 +0,0 @@ -// OBSOLETE /* Parameters for Intel 960 running NINDY monitor, for GDB, the GNU debugger. -// OBSOLETE Copyright 1990, 1991, 1996, 1999, 2000 Free Software Foundation, Inc. -// OBSOLETE Contributed by Intel Corporation and Cygnus Support. -// 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 /***************************************************************************** -// OBSOLETE * Definitions to target GDB to an i960 debugged over a serial line. -// OBSOLETE ******************************************************************************/ -// OBSOLETE -// OBSOLETE #include "i960/tm-i960.h" -// OBSOLETE -// OBSOLETE /* forward declarations */ -// OBSOLETE struct frame_info; -// OBSOLETE -// OBSOLETE /* Override the standard gdb prompt when compiled for this target. */ -// OBSOLETE -// OBSOLETE #define DEFAULT_PROMPT "(gdb960) " -// OBSOLETE -// OBSOLETE /* Additional command line options accepted by nindy gdb's, for handling -// OBSOLETE the remote-nindy.c interface. These should really be target-specific -// OBSOLETE rather than architecture-specific. */ -// OBSOLETE -// OBSOLETE extern int nindy_old_protocol; /* nonzero if old NINDY serial protocol */ -// OBSOLETE extern int nindy_initial_brk; /* Send a BREAK to reset board first */ -// OBSOLETE extern char *nindy_ttyname; /* Name of serial port to talk to nindy */ -// OBSOLETE -// OBSOLETE #define ADDITIONAL_OPTIONS \ -// OBSOLETE {"O", no_argument, &nindy_old_protocol, 1}, \ -// OBSOLETE {"brk", no_argument, &nindy_initial_brk, 1}, \ -// OBSOLETE {"ser", required_argument, 0, 1004}, /* 1004 is magic cookie for ADDL_CASES */ -// OBSOLETE -// OBSOLETE #define ADDITIONAL_OPTION_CASES \ -// OBSOLETE case 1004: /* -ser option: remote nindy auto-start */ \ -// OBSOLETE nindy_ttyname = optarg; \ -// OBSOLETE break; -// OBSOLETE -// OBSOLETE #define ADDITIONAL_OPTION_HELP \ -// OBSOLETE "\ -// OBSOLETE -O Use old protocol to talk to a Nindy target\n\ -// OBSOLETE -brk Send a break to a Nindy target to reset it.\n\ -// OBSOLETE -ser SERIAL Open remote Nindy session to SERIAL port.\n\ -// OBSOLETE " -// OBSOLETE -// OBSOLETE /* If specified on the command line, open tty for talking to nindy, -// OBSOLETE and download the executable file if one was specified. */ -// OBSOLETE -// OBSOLETE extern void nindy_open (char *name, int from_tty); -// OBSOLETE #define ADDITIONAL_OPTION_HANDLER \ -// OBSOLETE if (nindy_ttyname != NULL) \ -// OBSOLETE { \ -// OBSOLETE if (catch_command_errors (nindy_open, nindy_ttyname, \ -// OBSOLETE !batch, RETURN_MASK_ALL)) \ -// OBSOLETE { \ -// OBSOLETE if (execarg != NULL) \ -// OBSOLETE catch_command_errors (target_load, execarg, !batch, \ -// OBSOLETE RETURN_MASK_ALL); \ -// OBSOLETE } \ -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* If configured for i960 target, we take control before main loop -// OBSOLETE and demand that we configure for a nindy target. */ -// OBSOLETE -// OBSOLETE #define BEFORE_MAIN_LOOP_HOOK \ -// OBSOLETE nindy_before_main_loop(); -// OBSOLETE -// OBSOLETE extern void -// OBSOLETE nindy_before_main_loop (); /* In remote-nindy.c */ -// OBSOLETE -// OBSOLETE /* FRAME_CHAIN_VALID returns zero if the given frame is the outermost one -// OBSOLETE and has no caller. -// OBSOLETE -// OBSOLETE On the i960, each various target system type defines FRAME_CHAIN_VALID, -// OBSOLETE since it differs between NINDY and VxWorks, the two currently supported -// OBSOLETE targets types. */ -// OBSOLETE -// OBSOLETE extern int nindy_frame_chain_valid (CORE_ADDR, struct frame_info *); -// OBSOLETE #define FRAME_CHAIN_VALID(chain, thisframe) nindy_frame_chain_valid (chain, thisframe) -// OBSOLETE -// OBSOLETE extern int -// OBSOLETE nindy_frame_chain_valid (); /* See nindy-tdep.c */ -// OBSOLETE -// OBSOLETE /* Sequence of bytes for breakpoint instruction */ -// OBSOLETE -// OBSOLETE #define BREAKPOINT {0x00, 0x3e, 0x00, 0x66} -// OBSOLETE -// OBSOLETE /* Amount ip must be decremented by after a breakpoint. -// OBSOLETE * This is often the number of bytes in BREAKPOINT but not always. -// OBSOLETE */ -// OBSOLETE -// OBSOLETE #define DECR_PC_AFTER_BREAK 0 diff --git a/gdb/config/i960/tm-vx960.h b/gdb/config/i960/tm-vx960.h deleted file mode 100644 index 44ff627..0000000 --- a/gdb/config/i960/tm-vx960.h +++ /dev/null @@ -1,52 +0,0 @@ -// OBSOLETE /* Parameters for VxWorks Intel 960's, for GDB, the GNU debugger. -// OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993, 1998, 1999 -// OBSOLETE Free Software Foundation, Inc. -// OBSOLETE Contributed by Cygnus Support. -// 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 "i960/tm-i960.h" -// OBSOLETE #include "config/tm-vxworks.h" -// OBSOLETE -// OBSOLETE /* Under VxWorks the IP isn't filled in. Skip it, go with RIP, which has -// OBSOLETE the real value. */ -// OBSOLETE #undef PC_REGNUM -// OBSOLETE #define PC_REGNUM RIP_REGNUM -// OBSOLETE -// OBSOLETE /* We have more complex, useful breakpoints on the target. -// OBSOLETE Amount ip must be decremented by after a breakpoint. */ -// OBSOLETE -// OBSOLETE #define DECR_PC_AFTER_BREAK 0 -// OBSOLETE -// OBSOLETE /* We are guaranteed to have a zero frame pointer at bottom of stack, too. */ -// OBSOLETE -// OBSOLETE #define FRAME_CHAIN_VALID(chain, thisframe) nonnull_frame_chain_valid (chain, thisframe) -// OBSOLETE -// OBSOLETE /* Breakpoint patching is handled at the target end in VxWorks. */ -// OBSOLETE /* #define BREAKPOINT {0x00, 0x3e, 0x00, 0x66} */ -// OBSOLETE -// OBSOLETE /* Number of registers in a ptrace_getregs call. */ -// OBSOLETE -// OBSOLETE #define VX_NUM_REGS (16 + 16 + 3) -// OBSOLETE -// OBSOLETE /* Number of registers in a ptrace_getfpregs call. */ -// OBSOLETE -// OBSOLETE /* @@ Can't use this -- the rdb library for the 960 target -// OBSOLETE doesn't support setting or retrieving FP regs. KR */ -// OBSOLETE -// OBSOLETE /* #define VX_SIZE_FPREGS (REGISTER_RAW_SIZE (FP0_REGNUM) * 4) */ diff --git a/gdb/config/i960/vxworks960.mt b/gdb/config/i960/vxworks960.mt deleted file mode 100644 index e7f04c4..0000000 --- a/gdb/config/i960/vxworks960.mt +++ /dev/null @@ -1,6 +0,0 @@ -# OBSOLETE # Target: VxWorks running on an Intel 960 -# OBSOLETE TDEPFILES= i960-tdep.o remote-vx.o remote-vx960.o xdr_ld.o xdr_ptrace.o xdr_rdb.o -# OBSOLETE TM_FILE= tm-vx960.h -# OBSOLETE -# OBSOLETE # Define this for the vx-share routines, which don't see param.h. -# OBSOLETE MT_CFLAGS= -DI80960 diff --git a/gdb/config/m68k/apollo68b.mh b/gdb/config/m68k/apollo68b.mh deleted file mode 100644 index 99d034b..0000000 --- a/gdb/config/m68k/apollo68b.mh +++ /dev/null @@ -1,5 +0,0 @@ -# OBSOLETE # Host: Apollo m68k, BSD mode. -# OBSOLETE -# OBSOLETE XM_FILE= xm-apollo68b.h -# OBSOLETE NAT_FILE= nm-apollo68b.h -# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o a68v-nat.o diff --git a/gdb/config/m68k/apollo68b.mt b/gdb/config/m68k/apollo68b.mt deleted file mode 100644 index 11c0c02..0000000 --- a/gdb/config/m68k/apollo68b.mt +++ /dev/null @@ -1,3 +0,0 @@ -# OBSOLETE # Target: Apollo m68k in BSD mode -# OBSOLETE TDEPFILES= m68k-tdep.o dstread.o -# OBSOLETE TM_FILE= tm-apollo68b.h diff --git a/gdb/config/m68k/apollo68v.mh b/gdb/config/m68k/apollo68v.mh deleted file mode 100644 index 4ab84f0..0000000 --- a/gdb/config/m68k/apollo68v.mh +++ /dev/null @@ -1,10 +0,0 @@ -# OBSOLETE # Host: Apollo, System V mode (?) -# OBSOLETE -# OBSOLETE XM_FILE= xm-apollo68v.h -# OBSOLETE XM_CLIBS= -lPW -# OBSOLETE -# OBSOLETE NAT_FILE= nm-apollo68v.h -# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o a68v-nat.o -# OBSOLETE -# OBSOLETE RANLIB=echo >/dev/null -# OBSOLETE CC= cc -A ansi -A runtype,any -A systype,any -U__STDC__ -DNO_SYS_FILE diff --git a/gdb/config/m68k/hp300bsd.mh b/gdb/config/m68k/hp300bsd.mh deleted file mode 100644 index 76aa9a5..0000000 --- a/gdb/config/m68k/hp300bsd.mh +++ /dev/null @@ -1,6 +0,0 @@ -# OBSOLETE # Host: Hewlett-Packard 9000 series 300, running BSD -# OBSOLETE -# OBSOLETE XM_FILE= xm-hp300bsd.h -# OBSOLETE -# OBSOLETE NAT_FILE= nm-hp300bsd.h -# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o corelow.o core-aout.o diff --git a/gdb/config/m68k/hp300bsd.mt b/gdb/config/m68k/hp300bsd.mt deleted file mode 100644 index c3225e9..0000000 --- a/gdb/config/m68k/hp300bsd.mt +++ /dev/null @@ -1,3 +0,0 @@ -# OBSOLETE # Target: Hewlett-Packard 9000 series 300, running BSD -# OBSOLETE TDEPFILES= m68k-tdep.o -# OBSOLETE TM_FILE= tm-hp300bsd.h diff --git a/gdb/config/m68k/hp300hpux.mh b/gdb/config/m68k/hp300hpux.mh deleted file mode 100644 index 410c03c..0000000 --- a/gdb/config/m68k/hp300hpux.mh +++ /dev/null @@ -1,8 +0,0 @@ -# OBSOLETE # Host: Hewlett-Packard 9000 series 300, running HPUX -# OBSOLETE # The following is true because gcc uses a different .o file format -# OBSOLETE # than the native HPUX compiler -# OBSOLETE -# OBSOLETE XM_FILE= xm-hp300hpux.h -# OBSOLETE -# OBSOLETE NAT_FILE= nm-hp300hpux.h -# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o hp300ux-nat.o corelow.o core-aout.o diff --git a/gdb/config/m68k/hp300hpux.mt b/gdb/config/m68k/hp300hpux.mt deleted file mode 100644 index a1848af..0000000 --- a/gdb/config/m68k/hp300hpux.mt +++ /dev/null @@ -1,8 +0,0 @@ -# OBSOLETE # Target: Hewlett-Packard 9000 series 300, running HPUX -# OBSOLETE -# OBSOLETE #msg Note that GDB can only read symbols from programs that were -# OBSOLETE #msg compiled with GCC using GAS. -# OBSOLETE #msg -# OBSOLETE -# OBSOLETE TDEPFILES= m68k-tdep.o -# OBSOLETE TM_FILE= tm-hp300hpux.h diff --git a/gdb/config/m88k/delta88.mh b/gdb/config/m88k/delta88.mh deleted file mode 100644 index 3c079fe..0000000 --- a/gdb/config/m88k/delta88.mh +++ /dev/null @@ -1,6 +0,0 @@ -# OBSOLETE # Host: Motorola 88k running SVR3 -# OBSOLETE -# OBSOLETE XM_FILE= xm-delta88.h -# OBSOLETE -# OBSOLETE NAT_FILE= nm-m88k.h -# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o m88k-nat.o corelow.o core-aout.o diff --git a/gdb/config/m88k/delta88.mt b/gdb/config/m88k/delta88.mt deleted file mode 100644 index 83d4ad1..0000000 --- a/gdb/config/m88k/delta88.mt +++ /dev/null @@ -1,3 +0,0 @@ -# OBSOLETE # Target: Motorola 88k running SVR3 -# OBSOLETE TDEPFILES= m88k-tdep.o -# OBSOLETE TM_FILE= tm-delta88.h diff --git a/gdb/config/m88k/delta88v4.mh b/gdb/config/m88k/delta88v4.mh deleted file mode 100644 index bc2abc5..0000000 --- a/gdb/config/m88k/delta88v4.mh +++ /dev/null @@ -1,8 +0,0 @@ -# OBSOLETE # Host: Motorola 88k running SVR4 -# OBSOLETE -# OBSOLETE XM_FILE= xm-delta88v4.h -# OBSOLETE -# OBSOLETE NAT_FILE= nm-delta88v4.h -# OBSOLETE NATDEPFILES= fork-child.o m88k-nat.o corelow.o core-regset.o \ -# OBSOLETE solib.o solib-svr4.o solib-legacy.o \ -# OBSOLETE procfs.o proc-api.o proc-events.o proc-flags.o proc-why.o diff --git a/gdb/config/m88k/delta88v4.mt b/gdb/config/m88k/delta88v4.mt deleted file mode 100644 index c8f9df2..0000000 --- a/gdb/config/m88k/delta88v4.mt +++ /dev/null @@ -1,3 +0,0 @@ -# OBSOLETE # Target: Motorola 88k running SVR4 -# OBSOLETE TDEPFILES= m88k-tdep.o -# OBSOLETE TM_FILE= tm-delta88v4.h diff --git a/gdb/config/m88k/m88k.mh b/gdb/config/m88k/m88k.mh deleted file mode 100644 index a09e7a1..0000000 --- a/gdb/config/m88k/m88k.mh +++ /dev/null @@ -1,4 +0,0 @@ -# OBSOLETE # Host: Motorola 88000 running DGUX -# OBSOLETE XM_FILE= xm-dgux.h -# OBSOLETE NAT_FILE= nm-m88k.h -# OBSOLETE NATDEPFILES= infptrace.o inftarg.o fork-child.o m88k-nat.o diff --git a/gdb/config/m88k/m88k.mt b/gdb/config/m88k/m88k.mt deleted file mode 100644 index c4068e0..0000000 --- a/gdb/config/m88k/m88k.mt +++ /dev/null @@ -1,3 +0,0 @@ -# OBSOLETE # Target: Motorola 88k Binary Compatibility Standard -# OBSOLETE TDEPFILES= m88k-tdep.o remote-bug.o -# OBSOLETE TM_FILE= tm-m88k.h diff --git a/gdb/config/m88k/nm-delta88v4.h b/gdb/config/m88k/nm-delta88v4.h deleted file mode 100644 index 976cfa0..0000000 --- a/gdb/config/m88k/nm-delta88v4.h +++ /dev/null @@ -1,23 +0,0 @@ -// OBSOLETE /* Native machine description for Motorola Delta 88 box, for GDB. -// OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993 -// 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 "m88k/nm-m88k.h" -// OBSOLETE #include "config/nm-sysv4.h" diff --git a/gdb/config/m88k/nm-m88k.h b/gdb/config/m88k/nm-m88k.h deleted file mode 100644 index 6521a2a..0000000 --- a/gdb/config/m88k/nm-m88k.h +++ /dev/null @@ -1,25 +0,0 @@ -// OBSOLETE /* Native support macros for m88k, for GDB. -// OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992 -// 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 #define FETCH_INFERIOR_REGISTERS -// OBSOLETE -// OBSOLETE #define REGISTER_U_ADDR(addr, blockend, regno) \ -// OBSOLETE (addr) = m88k_register_u_addr ((blockend),(regno)); diff --git a/gdb/config/m88k/tm-delta88.h b/gdb/config/m88k/tm-delta88.h deleted file mode 100644 index f63fca3..0000000 --- a/gdb/config/m88k/tm-delta88.h +++ /dev/null @@ -1,28 +0,0 @@ -// OBSOLETE /* Target machine description for Motorola Delta 88 box, for GDB. -// OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 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 #include "m88k/tm-m88k.h" -// OBSOLETE -// OBSOLETE #define DELTA88 -// OBSOLETE -// OBSOLETE #define IN_SIGTRAMP(pc, name) ((name) && STREQ ("_sigcode", (name))) -// OBSOLETE #define SIGTRAMP_FRAME_FIXUP(frame) (frame) += 0x20 -// OBSOLETE #define SIGTRAMP_SP_FIXUP(sp) (sp) = read_memory_integer((sp), 4) diff --git a/gdb/config/m88k/tm-delta88v4.h b/gdb/config/m88k/tm-delta88v4.h deleted file mode 100644 index e343a05..0000000 --- a/gdb/config/m88k/tm-delta88v4.h +++ /dev/null @@ -1,32 +0,0 @@ -// OBSOLETE /* Target machine description for Motorola Delta 88 box, for GDB. -// OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993, 1994, 1998, 1999 -// 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 #define DELTA88 -// OBSOLETE -// OBSOLETE #include "m88k/tm-m88k.h" -// OBSOLETE #include "config/tm-sysv4.h" -// OBSOLETE -// OBSOLETE /* If we don't define this, backtraces go on forever. */ -// OBSOLETE #define FRAME_CHAIN_VALID(fp,fi) func_frame_chain_valid (fp, fi) -// OBSOLETE -// OBSOLETE #define IN_SIGTRAMP(pc, name) ((name) && (STREQ ("signalhandler", (name)) \ -// OBSOLETE || STREQ("sigacthandler", (name)))) -// OBSOLETE #define SIGTRAMP_SP_FIXUP(sp) (sp) = read_memory_integer((sp)+0xcd8, 4) diff --git a/gdb/config/m88k/tm-m88k.h b/gdb/config/m88k/tm-m88k.h deleted file mode 100644 index 2f08f1a..0000000 --- a/gdb/config/m88k/tm-m88k.h +++ /dev/null @@ -1,587 +0,0 @@ -// OBSOLETE /* Target machine description for generic Motorola 88000, for GDB. -// OBSOLETE -// OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993, 1994, 1996, -// OBSOLETE 1998, 1999, 2000, 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 "doublest.h" -// OBSOLETE #include "regcache.h" -// OBSOLETE -// OBSOLETE /* g++ support is not yet included. */ -// OBSOLETE -// OBSOLETE /* We cache information about saved registers in the frame structure, -// OBSOLETE to save us from having to re-scan function prologues every time -// OBSOLETE a register in a non-current frame is accessed. */ -// OBSOLETE -// OBSOLETE #define EXTRA_FRAME_INFO \ -// OBSOLETE struct frame_saved_regs *fsr; \ -// OBSOLETE CORE_ADDR locals_pointer; \ -// OBSOLETE CORE_ADDR args_pointer; -// OBSOLETE -// OBSOLETE /* Zero the frame_saved_regs pointer when the frame is initialized, -// OBSOLETE so that FRAME_FIND_SAVED_REGS () will know to allocate and -// OBSOLETE initialize a frame_saved_regs struct the first time it is called. -// OBSOLETE Set the arg_pointer to -1, which is not valid; 0 and other values -// OBSOLETE indicate real, cached values. */ -// OBSOLETE -// OBSOLETE #define INIT_EXTRA_FRAME_INFO(fromleaf, fi) \ -// OBSOLETE init_extra_frame_info (fromleaf, fi) -// OBSOLETE extern void init_extra_frame_info (); -// 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 extern CORE_ADDR m88k_skip_prologue (CORE_ADDR); -// OBSOLETE #define SKIP_PROLOGUE(frompc) (m88k_skip_prologue (frompc)) -// OBSOLETE -// OBSOLETE /* The m88k kernel aligns all instructions on 4-byte boundaries. The -// OBSOLETE kernel also uses the least significant two bits for its own hocus -// OBSOLETE pocus. When gdb receives an address from the kernel, it needs to -// OBSOLETE preserve those right-most two bits, but gdb also needs to be careful -// OBSOLETE to realize that those two bits are not really a part of the address -// OBSOLETE of an instruction. Shrug. */ -// OBSOLETE -// OBSOLETE extern CORE_ADDR m88k_addr_bits_remove (CORE_ADDR); -// OBSOLETE #define ADDR_BITS_REMOVE(addr) m88k_addr_bits_remove (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) \ -// OBSOLETE (ADDR_BITS_REMOVE (read_register (SRP_REGNUM))) -// OBSOLETE -// OBSOLETE /* Stack grows downward. */ -// OBSOLETE -// OBSOLETE #define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) -// OBSOLETE -// OBSOLETE /* Sequence of bytes for breakpoint instruction. */ -// OBSOLETE -// OBSOLETE /* instruction 0xF000D1FF is 'tb0 0,r0,511' -// OBSOLETE If Bit bit 0 of r0 is clear (always true), -// OBSOLETE initiate exception processing (trap). -// OBSOLETE */ -// OBSOLETE #define BREAKPOINT {0xF0, 0x00, 0xD1, 0xFF} -// OBSOLETE -// OBSOLETE /* Amount PC must be decremented by after a breakpoint. -// OBSOLETE This is often the number of bytes in BREAKPOINT -// OBSOLETE but not always. */ -// OBSOLETE -// OBSOLETE #define DECR_PC_AFTER_BREAK 0 -// OBSOLETE -// OBSOLETE /* Say how long (ordinary) registers are. This is a piece of bogosity -// OBSOLETE used in push_word and a few other places; REGISTER_RAW_SIZE is the -// OBSOLETE real way to know how big a register is. */ -// OBSOLETE -// OBSOLETE #define REGISTER_SIZE 4 -// OBSOLETE -// OBSOLETE /* Number of machine registers */ -// OBSOLETE -// OBSOLETE #define GP_REGS (38) -// OBSOLETE #define FP_REGS (32) -// OBSOLETE #define NUM_REGS (GP_REGS + FP_REGS) -// OBSOLETE -// OBSOLETE /* Initializer for an array of names of registers. -// OBSOLETE There should be NUM_REGS strings in this initializer. */ -// OBSOLETE -// OBSOLETE #define REGISTER_NAMES {\ -// OBSOLETE "r0",\ -// OBSOLETE "r1",\ -// OBSOLETE "r2",\ -// OBSOLETE "r3",\ -// OBSOLETE "r4",\ -// OBSOLETE "r5",\ -// OBSOLETE "r6",\ -// OBSOLETE "r7",\ -// OBSOLETE "r8",\ -// OBSOLETE "r9",\ -// OBSOLETE "r10",\ -// OBSOLETE "r11",\ -// OBSOLETE "r12",\ -// OBSOLETE "r13",\ -// OBSOLETE "r14",\ -// OBSOLETE "r15",\ -// OBSOLETE "r16",\ -// OBSOLETE "r17",\ -// OBSOLETE "r18",\ -// OBSOLETE "r19",\ -// OBSOLETE "r20",\ -// OBSOLETE "r21",\ -// OBSOLETE "r22",\ -// OBSOLETE "r23",\ -// OBSOLETE "r24",\ -// OBSOLETE "r25",\ -// OBSOLETE "r26",\ -// OBSOLETE "r27",\ -// OBSOLETE "r28",\ -// OBSOLETE "r29",\ -// OBSOLETE "r30",\ -// OBSOLETE "r31",\ -// OBSOLETE "psr",\ -// OBSOLETE "fpsr",\ -// OBSOLETE "fpcr",\ -// OBSOLETE "sxip",\ -// OBSOLETE "snip",\ -// OBSOLETE "sfip",\ -// OBSOLETE "x0",\ -// OBSOLETE "x1",\ -// OBSOLETE "x2",\ -// OBSOLETE "x3",\ -// OBSOLETE "x4",\ -// OBSOLETE "x5",\ -// OBSOLETE "x6",\ -// OBSOLETE "x7",\ -// OBSOLETE "x8",\ -// OBSOLETE "x9",\ -// OBSOLETE "x10",\ -// OBSOLETE "x11",\ -// OBSOLETE "x12",\ -// OBSOLETE "x13",\ -// OBSOLETE "x14",\ -// OBSOLETE "x15",\ -// OBSOLETE "x16",\ -// OBSOLETE "x17",\ -// OBSOLETE "x18",\ -// OBSOLETE "x19",\ -// OBSOLETE "x20",\ -// OBSOLETE "x21",\ -// OBSOLETE "x22",\ -// OBSOLETE "x23",\ -// OBSOLETE "x24",\ -// OBSOLETE "x25",\ -// OBSOLETE "x26",\ -// OBSOLETE "x27",\ -// OBSOLETE "x28",\ -// OBSOLETE "x29",\ -// OBSOLETE "x30",\ -// OBSOLETE "x31",\ -// OBSOLETE "vbr",\ -// OBSOLETE "dmt0",\ -// OBSOLETE "dmd0",\ -// OBSOLETE "dma0",\ -// OBSOLETE "dmt1",\ -// OBSOLETE "dmd1",\ -// OBSOLETE "dma1",\ -// OBSOLETE "dmt2",\ -// OBSOLETE "dmd2",\ -// OBSOLETE "dma2",\ -// OBSOLETE "sr0",\ -// OBSOLETE "sr1",\ -// OBSOLETE "sr2",\ -// OBSOLETE "sr3",\ -// OBSOLETE "fpecr",\ -// OBSOLETE "fphs1",\ -// OBSOLETE "fpls1",\ -// OBSOLETE "fphs2",\ -// OBSOLETE "fpls2",\ -// OBSOLETE "fppt",\ -// OBSOLETE "fprh",\ -// OBSOLETE "fprl",\ -// OBSOLETE "fpit",\ -// OBSOLETE "fpsr",\ -// OBSOLETE "fpcr",\ -// OBSOLETE } -// OBSOLETE -// 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 R0_REGNUM 0 /* Contains the constant zero */ -// OBSOLETE #define SRP_REGNUM 1 /* Contains subroutine return pointer */ -// OBSOLETE #define RV_REGNUM 2 /* Contains simple return values */ -// OBSOLETE #define SRA_REGNUM 12 /* Contains address of struct return values */ -// OBSOLETE #define SP_REGNUM 31 /* Contains address of top of stack */ -// OBSOLETE -// OBSOLETE /* Instruction pointer notes... -// OBSOLETE -// OBSOLETE On the m88100: -// OBSOLETE -// OBSOLETE * cr04 = sxip. On exception, contains the excepting pc (probably). -// OBSOLETE On rte, is ignored. -// OBSOLETE -// OBSOLETE * cr05 = snip. On exception, contains the NPC (next pc). On rte, -// OBSOLETE pc is loaded from here. -// OBSOLETE -// OBSOLETE * cr06 = sfip. On exception, contains the NNPC (next next pc). On -// OBSOLETE rte, the NPC is loaded from here. -// OBSOLETE -// OBSOLETE * lower two bits of each are flag bits. Bit 1 is V means address -// OBSOLETE is valid. If address is not valid, bit 0 is ignored. Otherwise, -// OBSOLETE bit 0 is E and asks for an exception to be taken if this -// OBSOLETE instruction is executed. -// OBSOLETE -// OBSOLETE On the m88110: -// OBSOLETE -// OBSOLETE * cr04 = exip. On exception, contains the address of the excepting -// OBSOLETE pc (always). On rte, pc is loaded from here. Bit 0, aka the D -// OBSOLETE bit, is a flag saying that the offending instruction was in a -// OBSOLETE branch delay slot. If set, then cr05 contains the NPC. -// OBSOLETE -// OBSOLETE * cr05 = enip. On exception, if the instruction pointed to by cr04 -// OBSOLETE was in a delay slot as indicated by the bit 0 of cr04, aka the D -// OBSOLETE bit, the cr05 contains the NPC. Otherwise ignored. -// OBSOLETE -// OBSOLETE * cr06 is invalid */ -// OBSOLETE -// OBSOLETE /* Note that the Harris Unix kernels emulate the m88100's behavior on -// OBSOLETE the m88110. */ -// OBSOLETE -// OBSOLETE #define SXIP_REGNUM 35 /* On m88100, Contains Shadow Execute -// OBSOLETE Instruction Pointer. */ -// OBSOLETE #define SNIP_REGNUM 36 /* On m88100, Contains Shadow Next -// OBSOLETE Instruction Pointer. */ -// OBSOLETE #define SFIP_REGNUM 37 /* On m88100, Contains Shadow Fetched -// OBSOLETE Intruction pointer. */ -// OBSOLETE -// OBSOLETE #define EXIP_REGNUM 35 /* On m88110, Contains Exception -// OBSOLETE Executing Instruction Pointer. */ -// OBSOLETE #define ENIP_REGNUM 36 /* On m88110, Contains the Exception -// OBSOLETE Next Instruction Pointer. */ -// OBSOLETE -// OBSOLETE #define PC_REGNUM SXIP_REGNUM /* Program Counter */ -// OBSOLETE #define NPC_REGNUM SNIP_REGNUM /* Next Program Counter */ -// OBSOLETE #define M88K_NNPC_REGNUM SFIP_REGNUM /* Next Next Program Counter */ -// OBSOLETE -// OBSOLETE -// OBSOLETE #define PSR_REGNUM 32 /* Processor Status Register */ -// OBSOLETE #define FPSR_REGNUM 33 /* Floating Point Status Register */ -// OBSOLETE #define FPCR_REGNUM 34 /* Floating Point Control Register */ -// OBSOLETE #define XFP_REGNUM 38 /* First Extended Float Register */ -// OBSOLETE #define X0_REGNUM XFP_REGNUM /* Which also contains the constant zero */ -// OBSOLETE -// OBSOLETE /* This is rather a confusing lie. Our m88k port using a stack pointer value -// OBSOLETE for the frame address. Hence, the frame address and the frame pointer are -// OBSOLETE only indirectly related. The value of this macro is the register number -// OBSOLETE fetched by the machine "independent" portions of gdb when they want to know -// OBSOLETE about a frame address. Thus, we lie here and claim that FP_REGNUM is -// OBSOLETE SP_REGNUM. */ -// OBSOLETE #define FP_REGNUM SP_REGNUM /* Reg fetched to locate frame when pgm stops */ -// OBSOLETE #define ACTUAL_FP_REGNUM 30 -// OBSOLETE -// OBSOLETE /* PSR status bit definitions. */ -// OBSOLETE -// OBSOLETE #define PSR_MODE 0x80000000 -// OBSOLETE #define PSR_BYTE_ORDER 0x40000000 -// OBSOLETE #define PSR_SERIAL_MODE 0x20000000 -// OBSOLETE #define PSR_CARRY 0x10000000 -// OBSOLETE #define PSR_SFU_DISABLE 0x000003f0 -// OBSOLETE #define PSR_SFU1_DISABLE 0x00000008 -// OBSOLETE #define PSR_MXM 0x00000004 -// OBSOLETE #define PSR_IND 0x00000002 -// OBSOLETE #define PSR_SFRZ 0x00000001 -// OBSOLETE -// OBSOLETE -// OBSOLETE -// OBSOLETE /* The following two comments come from the days prior to the m88110 -// OBSOLETE port. The m88110 handles the instruction pointers differently. I -// OBSOLETE do not know what any m88110 kernels do as the m88110 port I'm -// OBSOLETE working with is for an embedded system. rich@cygnus.com -// OBSOLETE 13-sept-93. */ -// OBSOLETE -// OBSOLETE /* BCS requires that the SXIP_REGNUM (or PC_REGNUM) contain the -// OBSOLETE address of the next instr to be executed when a breakpoint occurs. -// OBSOLETE Because the kernel gets the next instr (SNIP_REGNUM), the instr in -// OBSOLETE SNIP needs to be put back into SFIP, and the instr in SXIP should -// OBSOLETE be shifted to SNIP */ -// OBSOLETE -// OBSOLETE /* Are you sitting down? It turns out that the 88K BCS (binary -// OBSOLETE compatibility standard) folks originally felt that the debugger -// OBSOLETE should be responsible for backing up the IPs, not the kernel (as is -// OBSOLETE usually done). Well, they have reversed their decision, and in -// OBSOLETE future releases our kernel will be handling the backing up of the -// OBSOLETE IPs. So, eventually, we won't need to do the SHIFT_INST_REGS -// OBSOLETE stuff. But, for now, since there are 88K systems out there that do -// OBSOLETE need the debugger to do the IP shifting, and since there will be -// OBSOLETE systems where the kernel does the shifting, the code is a little -// OBSOLETE more complex than perhaps it needs to be (we still go inside -// OBSOLETE SHIFT_INST_REGS, and if the shifting hasn't occurred then gdb goes -// OBSOLETE ahead and shifts). */ -// OBSOLETE -// OBSOLETE extern int target_is_m88110; -// OBSOLETE #define SHIFT_INST_REGS() \ -// OBSOLETE if (!target_is_m88110) \ -// OBSOLETE { \ -// OBSOLETE CORE_ADDR pc = read_register (PC_REGNUM); \ -// OBSOLETE CORE_ADDR npc = read_register (NPC_REGNUM); \ -// OBSOLETE if (pc != npc) \ -// OBSOLETE { \ -// OBSOLETE write_register (M88K_NNPC_REGNUM, npc); \ -// OBSOLETE write_register (NPC_REGNUM, pc); \ -// OBSOLETE } \ -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Storing the following registers is a no-op. */ -// OBSOLETE #define CANNOT_STORE_REGISTER(regno) (((regno) == R0_REGNUM) \ -// OBSOLETE || ((regno) == X0_REGNUM)) -// OBSOLETE -// OBSOLETE /* Number of bytes of storage in the actual machine representation -// OBSOLETE for register N. On the m88k, the general purpose registers are 4 -// OBSOLETE bytes and the 88110 extended registers are 10 bytes. */ -// OBSOLETE -// OBSOLETE #define REGISTER_RAW_SIZE(N) ((N) < XFP_REGNUM ? 4 : 10) -// OBSOLETE -// OBSOLETE /* Total amount of space needed to store our copies of the machine's -// OBSOLETE register state, the array `registers'. */ -// OBSOLETE -// OBSOLETE #define REGISTER_BYTES ((GP_REGS * REGISTER_RAW_SIZE(0)) \ -// OBSOLETE + (FP_REGS * REGISTER_RAW_SIZE(XFP_REGNUM))) -// OBSOLETE -// OBSOLETE /* Index within `registers' of the first byte of the space for -// OBSOLETE register N. */ -// OBSOLETE -// OBSOLETE #define REGISTER_BYTE(N) (((N) * REGISTER_RAW_SIZE(0)) \ -// OBSOLETE + ((N) >= XFP_REGNUM \ -// OBSOLETE ? (((N) - XFP_REGNUM) \ -// OBSOLETE * REGISTER_RAW_SIZE(XFP_REGNUM)) \ -// OBSOLETE : 0)) -// OBSOLETE -// OBSOLETE /* Number of bytes of storage in the program's representation for -// OBSOLETE register N. On the m88k, all registers are 4 bytes excepting the -// OBSOLETE m88110 extended registers which are 8 byte doubles. */ -// OBSOLETE -// OBSOLETE #define REGISTER_VIRTUAL_SIZE(N) ((N) < XFP_REGNUM ? 4 : 8) -// OBSOLETE -// OBSOLETE /* Largest value REGISTER_RAW_SIZE can have. */ -// OBSOLETE -// OBSOLETE #define MAX_REGISTER_RAW_SIZE (REGISTER_RAW_SIZE(XFP_REGNUM)) -// OBSOLETE -// OBSOLETE /* Largest value REGISTER_VIRTUAL_SIZE can have. -// OBSOLETE Are FPS1, FPS2, FPR "virtual" regisers? */ -// OBSOLETE -// OBSOLETE #define MAX_REGISTER_VIRTUAL_SIZE (REGISTER_RAW_SIZE(XFP_REGNUM)) -// OBSOLETE -// OBSOLETE /* Return the GDB type object for the "standard" data type -// OBSOLETE of data in register N. */ -// OBSOLETE -// OBSOLETE struct type *m88k_register_type (int regnum); -// OBSOLETE #define REGISTER_VIRTUAL_TYPE(N) m88k_register_type (N) -// OBSOLETE -// OBSOLETE /* The 88k call/return conventions call for "small" values to be returned -// OBSOLETE into consecutive registers starting from r2. */ -// OBSOLETE -// OBSOLETE #define DEPRECATED_EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ -// OBSOLETE memcpy ((VALBUF), &(((char *)REGBUF)[REGISTER_BYTE(RV_REGNUM)]), TYPE_LENGTH (TYPE)) -// OBSOLETE -// OBSOLETE #define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(REGBUF) (*(int *)(REGBUF)) -// OBSOLETE -// OBSOLETE /* Write into appropriate registers a function return value -// OBSOLETE of type TYPE, given in virtual format. */ -// OBSOLETE -// OBSOLETE #define STORE_RETURN_VALUE(TYPE,VALBUF) \ -// OBSOLETE write_register_bytes (2*REGISTER_RAW_SIZE(0), (VALBUF), TYPE_LENGTH (TYPE)) -// OBSOLETE -// OBSOLETE /* In COFF, if PCC says a parameter is a short or a char, do not -// OBSOLETE change it to int (it seems the convention is to change it). */ -// OBSOLETE -// OBSOLETE #define BELIEVE_PCC_PROMOTION 1 -// 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 -// OBSOLETE and produces the frame's chain-pointer. -// OBSOLETE -// OBSOLETE However, if FRAME_CHAIN_VALID returns zero, -// OBSOLETE it means the given frame is the outermost one and has no caller. */ -// OBSOLETE -// OBSOLETE extern CORE_ADDR frame_chain (); -// OBSOLETE extern int frame_chain_valid (); -// OBSOLETE extern int frameless_function_invocation (); -// OBSOLETE -// OBSOLETE #define FRAME_CHAIN(thisframe) \ -// OBSOLETE frame_chain (thisframe) -// OBSOLETE -// OBSOLETE #define FRAMELESS_FUNCTION_INVOCATION(frame) \ -// OBSOLETE (frameless_function_invocation (frame)) -// OBSOLETE -// OBSOLETE /* Define other aspects of the stack frame. */ -// OBSOLETE -// OBSOLETE #define FRAME_SAVED_PC(FRAME) \ -// OBSOLETE frame_saved_pc (FRAME) -// OBSOLETE extern CORE_ADDR frame_saved_pc (); -// OBSOLETE -// OBSOLETE #define FRAME_ARGS_ADDRESS(fi) \ -// OBSOLETE frame_args_address (fi) -// OBSOLETE extern CORE_ADDR frame_args_address (); -// OBSOLETE -// OBSOLETE #define FRAME_LOCALS_ADDRESS(fi) \ -// OBSOLETE frame_locals_address (fi) -// OBSOLETE extern CORE_ADDR frame_locals_address (); -// OBSOLETE -// OBSOLETE /* Return number of args passed to a frame. -// OBSOLETE Can return -1, meaning no way to tell. */ -// 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 /* On the 88k, parameter registers get stored into the so called "homing" -// OBSOLETE area. This *always* happens when you compiled with GCC and use -g. -// OBSOLETE Also, (with GCC and -g) the saving of the parameter register values -// OBSOLETE always happens right within the function prologue code, so these register -// OBSOLETE values can generally be relied upon to be already copied into their -// OBSOLETE respective homing slots by the time you will normally try to look at -// OBSOLETE them (we hope). -// OBSOLETE -// OBSOLETE Note that homing area stack slots are always at *positive* offsets from -// OBSOLETE the frame pointer. Thus, the homing area stack slots for the parameter -// OBSOLETE registers (passed values) for a given function are actually part of the -// OBSOLETE frame area of the caller. This is unusual, but it should not present -// OBSOLETE any special problems for GDB. -// OBSOLETE -// OBSOLETE Note also that on the 88k, we are only interested in finding the -// OBSOLETE registers that might have been saved in memory. This is a subset of -// OBSOLETE the whole set of registers because the standard calling sequence allows -// OBSOLETE the called routine to clobber many registers. -// OBSOLETE -// OBSOLETE We could manage to locate values for all of the so called "preserved" -// OBSOLETE registers (some of which may get saved within any particular frame) but -// OBSOLETE that would require decoding all of the tdesc information. That would be -// OBSOLETE nice information for GDB to have, but it is not strictly manditory if we -// OBSOLETE can live without the ability to look at values within (or backup to) -// OBSOLETE previous frames. -// OBSOLETE */ -// OBSOLETE -// OBSOLETE struct frame_saved_regs; -// OBSOLETE struct frame_info; -// OBSOLETE -// OBSOLETE void frame_find_saved_regs (struct frame_info *fi, -// OBSOLETE struct frame_saved_regs *fsr); -// OBSOLETE -// OBSOLETE #define FRAME_FIND_SAVED_REGS(frame_info, frame_saved_regs) \ -// OBSOLETE frame_find_saved_regs (frame_info, &frame_saved_regs) -// OBSOLETE -// OBSOLETE -// OBSOLETE #define POP_FRAME pop_frame () -// OBSOLETE extern void pop_frame (); -// OBSOLETE -// OBSOLETE /* Call function stuff contributed by Kevin Buettner of Motorola. */ -// OBSOLETE -// OBSOLETE #define CALL_DUMMY_LOCATION AFTER_TEXT_END -// OBSOLETE -// OBSOLETE extern void m88k_push_dummy_frame (); -// OBSOLETE #define PUSH_DUMMY_FRAME m88k_push_dummy_frame() -// OBSOLETE -// OBSOLETE #define CALL_DUMMY { \ -// OBSOLETE 0x67ff00c0, /* 0: subu #sp,#sp,0xc0 */ \ -// OBSOLETE 0x243f0004, /* 4: st #r1,#sp,0x4 */ \ -// OBSOLETE 0x245f0008, /* 8: st #r2,#sp,0x8 */ \ -// OBSOLETE 0x247f000c, /* c: st #r3,#sp,0xc */ \ -// OBSOLETE 0x249f0010, /* 10: st #r4,#sp,0x10 */ \ -// OBSOLETE 0x24bf0014, /* 14: st #r5,#sp,0x14 */ \ -// OBSOLETE 0x24df0018, /* 18: st #r6,#sp,0x18 */ \ -// OBSOLETE 0x24ff001c, /* 1c: st #r7,#sp,0x1c */ \ -// OBSOLETE 0x251f0020, /* 20: st #r8,#sp,0x20 */ \ -// OBSOLETE 0x253f0024, /* 24: st #r9,#sp,0x24 */ \ -// OBSOLETE 0x255f0028, /* 28: st #r10,#sp,0x28 */ \ -// OBSOLETE 0x257f002c, /* 2c: st #r11,#sp,0x2c */ \ -// OBSOLETE 0x259f0030, /* 30: st #r12,#sp,0x30 */ \ -// OBSOLETE 0x25bf0034, /* 34: st #r13,#sp,0x34 */ \ -// OBSOLETE 0x25df0038, /* 38: st #r14,#sp,0x38 */ \ -// OBSOLETE 0x25ff003c, /* 3c: st #r15,#sp,0x3c */ \ -// OBSOLETE 0x261f0040, /* 40: st #r16,#sp,0x40 */ \ -// OBSOLETE 0x263f0044, /* 44: st #r17,#sp,0x44 */ \ -// OBSOLETE 0x265f0048, /* 48: st #r18,#sp,0x48 */ \ -// OBSOLETE 0x267f004c, /* 4c: st #r19,#sp,0x4c */ \ -// OBSOLETE 0x269f0050, /* 50: st #r20,#sp,0x50 */ \ -// OBSOLETE 0x26bf0054, /* 54: st #r21,#sp,0x54 */ \ -// OBSOLETE 0x26df0058, /* 58: st #r22,#sp,0x58 */ \ -// OBSOLETE 0x26ff005c, /* 5c: st #r23,#sp,0x5c */ \ -// OBSOLETE 0x271f0060, /* 60: st #r24,#sp,0x60 */ \ -// OBSOLETE 0x273f0064, /* 64: st #r25,#sp,0x64 */ \ -// OBSOLETE 0x275f0068, /* 68: st #r26,#sp,0x68 */ \ -// OBSOLETE 0x277f006c, /* 6c: st #r27,#sp,0x6c */ \ -// OBSOLETE 0x279f0070, /* 70: st #r28,#sp,0x70 */ \ -// OBSOLETE 0x27bf0074, /* 74: st #r29,#sp,0x74 */ \ -// OBSOLETE 0x27df0078, /* 78: st #r30,#sp,0x78 */ \ -// OBSOLETE 0x63df0000, /* 7c: addu #r30,#sp,0x0 */ \ -// OBSOLETE 0x145f0000, /* 80: ld #r2,#sp,0x0 */ \ -// OBSOLETE 0x147f0004, /* 84: ld #r3,#sp,0x4 */ \ -// OBSOLETE 0x149f0008, /* 88: ld #r4,#sp,0x8 */ \ -// OBSOLETE 0x14bf000c, /* 8c: ld #r5,#sp,0xc */ \ -// OBSOLETE 0x14df0010, /* 90: ld #r6,#sp,0x10 */ \ -// OBSOLETE 0x14ff0014, /* 94: ld #r7,#sp,0x14 */ \ -// OBSOLETE 0x151f0018, /* 98: ld #r8,#sp,0x18 */ \ -// OBSOLETE 0x153f001c, /* 9c: ld #r9,#sp,0x1c */ \ -// OBSOLETE 0x5c200000, /* a0: or.u #r1,#r0,0x0 */ \ -// OBSOLETE 0x58210000, /* a4: or #r1,#r1,0x0 */ \ -// OBSOLETE 0xf400c801, /* a8: jsr #r1 */ \ -// OBSOLETE 0xf000d1ff /* ac: tb0 0x0,#r0,0x1ff */ \ -// OBSOLETE } -// OBSOLETE -// OBSOLETE #define CALL_DUMMY_START_OFFSET 0x80 -// OBSOLETE #define CALL_DUMMY_LENGTH 0xb0 -// OBSOLETE -// OBSOLETE /* FIXME: byteswapping. */ -// OBSOLETE #define FIX_CALL_DUMMY(dummy, pc, fun, nargs, args, type, gcc_p) \ -// OBSOLETE { \ -// OBSOLETE *(unsigned long *)((char *) (dummy) + 0xa0) |= \ -// OBSOLETE (((unsigned long) (fun)) >> 16); \ -// OBSOLETE *(unsigned long *)((char *) (dummy) + 0xa4) |= \ -// OBSOLETE (((unsigned long) (fun)) & 0xffff); \ -// OBSOLETE } -// OBSOLETE -// OBSOLETE /* Stack must be aligned on 64-bit boundaries when synthesizing -// OBSOLETE function calls. */ -// OBSOLETE -// OBSOLETE #define STACK_ALIGN(addr) (((addr) + 7) & -8) -// OBSOLETE -// OBSOLETE #define STORE_STRUCT_RETURN(addr, sp) \ -// OBSOLETE write_register (SRA_REGNUM, (addr)) -// OBSOLETE -// OBSOLETE #define NEED_TEXT_START_END 1 -// OBSOLETE -// OBSOLETE /* According to the MC88100 RISC Microprocessor User's Manual, section -// OBSOLETE 6.4.3.1.2: -// OBSOLETE -// OBSOLETE ... can be made to return to a particular instruction by placing a -// OBSOLETE valid instruction address in the SNIP and the next sequential -// OBSOLETE instruction address in the SFIP (with V bits set and E bits clear). -// OBSOLETE The rte resumes execution at the instruction pointed to by the -// OBSOLETE SNIP, then the SFIP. -// OBSOLETE -// OBSOLETE The E bit is the least significant bit (bit 0). The V (valid) bit is -// OBSOLETE bit 1. This is why we logical or 2 into the values we are writing -// OBSOLETE below. It turns out that SXIP plays no role when returning from an -// OBSOLETE exception so nothing special has to be done with it. We could even -// OBSOLETE (presumably) give it a totally bogus value. -// OBSOLETE -// OBSOLETE -- Kevin Buettner -// OBSOLETE */ -// OBSOLETE -// OBSOLETE extern void m88k_target_write_pc (CORE_ADDR pc, ptid_t ptid); -// OBSOLETE #define TARGET_WRITE_PC(VAL, PID) m88k_target_write_pc (VAL, PID) diff --git a/gdb/config/m88k/xm-delta88.h b/gdb/config/m88k/xm-delta88.h deleted file mode 100644 index df2b8e6..0000000 --- a/gdb/config/m88k/xm-delta88.h +++ /dev/null @@ -1,44 +0,0 @@ -// OBSOLETE /* Host machine description for Motorola Delta 88 system, for GDB. -// OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993 -// 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 #if !defined (USG) -// OBSOLETE #define USG 1 -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE #include <sys/param.h> -// OBSOLETE #include <sys/time.h> -// OBSOLETE -// OBSOLETE #define HAVE_TERMIO -// OBSOLETE -// OBSOLETE /*#define USIZE 2048 */ -// OBSOLETE /*#define NBPG NBPC */ -// OBSOLETE /* Might be defined in <sys/param.h>. I suspect this define was a relic -// OBSOLETE from before when BFD did core files. */ -// OBSOLETE /* #define UPAGES USIZE */ -// 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 /* Since registers r0 through r31 are stored directly in the struct ptrace_user, -// OBSOLETE (for m88k BCS) -// OBSOLETE the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */ -// OBSOLETE -// OBSOLETE #define KERNEL_U_ADDR 0 diff --git a/gdb/config/m88k/xm-dgux.h b/gdb/config/m88k/xm-dgux.h deleted file mode 100644 index dc99f97..0000000 --- a/gdb/config/m88k/xm-dgux.h +++ /dev/null @@ -1,55 +0,0 @@ -// OBSOLETE /* Host-machine dependent parameters for Motorola 88000, for GDB. -// OBSOLETE Copyright 1986, 1987, 1988, 1989, 1990, 1991, 1993, 1998 -// 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 #if !defined (USG) -// OBSOLETE #define USG 1 -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE #include <sys/param.h> -// OBSOLETE -// OBSOLETE #ifdef __GNUC__ -// OBSOLETE #define memcpy __builtin_memcpy -// OBSOLETE /* gcc doesn't have this, at least not gcc 1.92. */ -// OBSOLETE /* #define memset __builtin_memset */ -// OBSOLETE #define strcmp __builtin_strcmp -// OBSOLETE #endif -// OBSOLETE -// OBSOLETE #define x_foff _x_x._x_offset -// OBSOLETE #define x_fname _x_name -// OBSOLETE #define USER ptrace_user -// OBSOLETE #define _BSD_WAIT_FLAVOR -// OBSOLETE -// OBSOLETE #define HAVE_TERMIO -// OBSOLETE -// OBSOLETE #ifndef USIZE -// OBSOLETE #define USIZE 2048 -// OBSOLETE #endif -// OBSOLETE #define NBPG NBPC -// OBSOLETE #define UPAGES USIZE -// 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 /* Since registers r0 through r31 are stored directly in the struct ptrace_user, -// OBSOLETE (for m88k BCS) -// OBSOLETE the ptrace_user offsets are sufficient and KERNEL_U_ADDRESS can be 0 */ -// OBSOLETE -// OBSOLETE #define KERNEL_U_ADDR 0 |