* MAINTAINERS: Mark a29k as deleted.

* NEWS: Mention that a29k was removed.  Add OBSOLETE section.
Move new configurations to the top.
* configure.tgt: Remove a29k.
* config/a29k/tm-vx29k.h: Delete.
* config/a29k/vx29k.mt: Delete.
* config/a29k/tm-a29k.h: Delete.
* config/a29k/a29k-udi.mt: Delete.
* config/a29k/a29k.mt: Delete.
* a29k-tdep.c: Delete.
* remote-udi.c: Delete.
* remote-mm.c: Delete.
* remote-eb.c: Delete.
* remote-adapt.c: Delete.
* Makefile.in: Remove obsolete code.
* gdbserver/Makefile.in: Ditto.
* config/s390/s390x.mt: Ditto.
* config/s390/s390.mt: Ditto.
* config/sparc/sparclynx.mh: Ditto.
* config/sparc/linux.mh: Ditto.
* config/pa/hppaosf.mh: Ditto.
* config/pa/hppabsd.mh: Ditto.
* config/ns32k/nbsd.mt: Ditto.
* config/mips/vr5000.mt: Ditto.
* config/m68k/sun3os4.mh: Ditto.
* config/m68k/nbsd.mt: Ditto.
* config/m68k/m68klynx.mh: Ditto.
* config/m32r/m32r.mt: Ditto.
* config/i386/x86-64linux.mt: Ditto.
* config/i386/nbsdelf.mt: Ditto.
* config/i386/nbsd.mt: Ditto.
* config/i386/i386lynx.mh: Ditto.
This commit is contained in:
Andrew Cagney 2002-05-04 15:52:42 +00:00
parent b9c07f0f78
commit cd9bfe1540
35 changed files with 58 additions and 8248 deletions

View File

@ -1,3 +1,38 @@
2002-05-04 Andrew Cagney <ac131313@redhat.com>
* MAINTAINERS: Mark a29k as deleted.
* NEWS: Mention that a29k was removed. Add OBSOLETE section.
Move new configurations to the top.
* configure.tgt: Remove a29k.
* config/a29k/tm-vx29k.h: Delete.
* config/a29k/vx29k.mt: Delete.
* config/a29k/tm-a29k.h: Delete.
* config/a29k/a29k-udi.mt: Delete.
* config/a29k/a29k.mt: Delete.
* a29k-tdep.c: Delete.
* remote-udi.c: Delete.
* remote-mm.c: Delete.
* remote-eb.c: Delete.
* remote-adapt.c: Delete.
* Makefile.in: Remove obsolete code.
* gdbserver/Makefile.in: Ditto.
* config/s390/s390x.mt: Ditto.
* config/s390/s390.mt: Ditto.
* config/sparc/sparclynx.mh: Ditto.
* config/sparc/linux.mh: Ditto.
* config/pa/hppaosf.mh: Ditto.
* config/pa/hppabsd.mh: Ditto.
* config/ns32k/nbsd.mt: Ditto.
* config/mips/vr5000.mt: Ditto.
* config/m68k/sun3os4.mh: Ditto.
* config/m68k/nbsd.mt: Ditto.
* config/m68k/m68klynx.mh: Ditto.
* config/m32r/m32r.mt: Ditto.
* config/i386/x86-64linux.mt: Ditto.
* config/i386/nbsdelf.mt: Ditto.
* config/i386/nbsd.mt: Ditto.
* config/i386/i386lynx.mh: Ditto.
2002-05-04 Andrew Cagney <ac131313@redhat.com>
* target.c (debug_print_register): New function. Handle oversize

View File

@ -54,7 +54,7 @@ variants. *-tdep.c. The Target/Architecture maintainer works with the
host maintainer when resolving build issues. The Target/Architecture
maintainer works with the native maintainer when resolving API issues.
a29k OBSOLETE
a29k Deleted.
alpha --target=alpha-dec-osf4.0a -Werror
Maintenance only

View File

@ -1239,9 +1239,6 @@ udi2go32.o: $(srcdir)/29k-share/udi/udi2go32.c $(udiheaders)
udr.o: $(srcdir)/29k-share/udi/udr.c $(udiheaders)
$(CC) -c $(INTERNAL_CFLAGS) $(srcdir)/29k-share/udi/udr.c
# OBSOLETE a29k-tdep.o: a29k-tdep.c $(gdbcmd_h) $(gdbcore_h) $(inferior_h) $(defs_h) \
# OBSOLETE $(regcache_h)
a68v-nat.o: a68v-nat.c $(defs_h) $(gdbcore_h) $(inferior_h) \
$(regcache_h)
@ -1903,9 +1900,6 @@ lin-lwp.o: lin-lwp.c $(defs_h) gdb_assert.h gdb_wait.h $(gdbthread_h) \
proc-service.o: proc-service.c $(defs_h) $(inferior_h) gdb_proc_service.h \
$(symtab_h) $(target_h) gregset.h
# OBSOLETE remote-adapt.o: remote-adapt.c $(defs_h) $(gdbcore_h) \
# OBSOLETE $(inferior_h) $(target_h) $(terminal_h) $(gdb_string_h) $(regcache_h)
remote-array.o: remote-array.c $(defs_h) $(gdbcore_h) $(target_h) \
$(gdb_string_h) $(command_h) $(serial_h) $(monitor_h) $(remote_utils_h) \
$(version_h) $(regcache_h)
@ -1933,10 +1927,6 @@ remote-bug.o: remote-bug.c $(defs_h) $(gdbcore_h) $(serial_h) \
remote-e7000.o: remote-e7000.c $(defs_h) $(gdbcore_h) $(target_h) \
$(serial_h) $(gdb_string_h) $(regcache_h)
# OBSOLETE remote-eb.o: remote-eb.c $(srcdir)/config/a29k/tm-a29k.h \
# OBSOLETE $(defs_h) $(gdbcore_h) $(inferior_h) $(symfile_h) $(target_h) \
# OBSOLETE $(terminal_h) $(gdb_string_h) $(regcache_h)
remote-es.o: remote-es.c $(bfd_h) $(command_h) $(defs_h) \
$(inferior_h) $(remote_utils_h) $(terminal_h) $(gdb_string_h) \
$(symfile_h) $(regcache_h) $(value_h)
@ -1951,9 +1941,6 @@ remote-mips.o: remote-mips.c $(defs_h) $(gdbcmd_h) \
$(gdbcore_h) $(inferior_h) $(serial_h) $(symfile_h) $(target_h) \
$(regcache_h)
# OBSOLETE remote-mm.o: remote-mm.c $(bfd_h) $(defs_h) $(inferior_h) \
# OBSOLETE minimon.h $(target_h) $(terminal_h) $(gdb_string_h) $(regcache_h)
remote-nindy.o: remote-nindy.c $(floatformat_h) $(command_h) \
$(defs_h) $(gdbcore_h) $(inferior_h) \
nindy-share/env.h nindy-share/stop.h $(remote_utils_h) \
@ -1974,10 +1961,6 @@ remote-sim.o: remote-sim.c $(defs_h) $(gdbcore_h) \
remote-st.o: remote-st.c $(defs_h) $(gdbcore_h) $(serial_h) \
$(target_h) $(gdb_string_h) $(regcache_h)
# OBSOLETE remote-udi.o: remote-udi.c $(bfd_h) $(defs_h) $(gdbcmd_h) \
# OBSOLETE $(inferior_h) $(target_h) $(terminal_h) $(udiheaders) $(gdb_string_h) \
# OBSOLETE $(regcache_h)
remote-vx.o: remote-vx.c $(complaints_h) $(defs_h) $(gdbcmd_h) \
$(gdbcore_h) $(inferior_h) $(target_h) vx-share/dbgRpcLib.h \
vx-share/ptrace.h vx-share/xdr_ld.h vx-share/xdr_ptrace.h \

View File

@ -3,18 +3,35 @@
*** Changes since GDB 5.2:
* New target.
* New targets.
Atmel AVR avr*-*-*
* Changes in VAX configurations.
Multi-arch support is enabled for all VAX configurations.
* New native configurations
Alpha NetBSD alpha*-*-netbsd*
* OBSOLETE configurations and files
Configurations that have been declared obsolete in this release have
been commented out. Unless there is activity to revive these
configurations, the next release of GDB will have their sources
permanently REMOVED.
* REMOVED configurations and files
AMD 29k family via UDI a29k-amd-udi, udi29k
A29K VxWorks a29k-*-vxworks
AMD 29000 embedded, using EBMON a29k-none-none
AMD 29000 embedded with COFF a29k-none-coff
AMD 29000 embedded with a.out a29k-none-aout
testsuite/gdb.hp/gdb.threads-hp/ directory
* Changes in VAX configurations.
Multi-arch support is enabled for all VAX configurations.
* Changes in Alpha configurations.
Multi-arch support is enabled for all Alpha configurations.

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +0,0 @@
# OBSOLETE # Target: AMD 29000 on EB29K board over a serial line
# OBSOLETE TDEPFILES= a29k-tdep.o remote-udi.o udip2soc.o udr.o udi2go32.o
# OBSOLETE TM_FILE= tm-a29k.h
# OBSOLETE
# OBSOLETE MT_CFLAGS = $(HOST_IPC)

View File

@ -1,5 +0,0 @@
# OBSOLETE # Target: AMD 29000
# OBSOLETE TDEPFILES= a29k-tdep.o remote-eb.o remote-adapt.o
# OBSOLETE TM_FILE= tm-a29k.h
# OBSOLETE
# OBSOLETE MT_CFLAGS = -DNO_HIF_SUPPORT

View File

@ -1,722 +0,0 @@
/* OBSOLETE /* Parameters for target machine AMD 29000, for GDB, the GNU debugger. */
/* OBSOLETE Copyright 1990, 1991, 1993, 1994, 1995, 1996, 1998, 1999, 2000, */
/* OBSOLETE 2001 Free Software Foundation, Inc. */
/* OBSOLETE Contributed by Cygnus Support. Written by Jim Kingdon. */
/* 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 /* Parameters for an EB29K (a board which plugs into a PC and is */
/* OBSOLETE accessed through EBMON software running on the PC, which we */
/* OBSOLETE use as we'd use a remote stub (see remote-eb.c). */
/* OBSOLETE */
/* OBSOLETE If gdb is ported to other a29k machines/systems, the */
/* OBSOLETE machine/system-specific parts should be removed from this file (a */
/* OBSOLETE la tm-m68k.h). */ */
/* OBSOLETE */
/* OBSOLETE /* Byte order is configurable, but this machine runs big-endian. */ */
/* OBSOLETE #define TARGET_BYTE_ORDER BFD_ENDIAN_BIG */
/* OBSOLETE */
/* OBSOLETE /* Floating point uses IEEE representations. */ */
/* OBSOLETE #define IEEE_FLOAT (1) */
/* OBSOLETE */
/* OBSOLETE /* Recognize our magic number. */ */
/* OBSOLETE #define BADMAG(x) ((x).f_magic != 0572) */
/* OBSOLETE */
/* OBSOLETE /* Offset from address of function to start of its code. */
/* OBSOLETE Zero on most machines. */ */
/* OBSOLETE */
/* OBSOLETE #define FUNCTION_START_OFFSET 0 */
/* OBSOLETE */
/* OBSOLETE /* Advance PC across any function entry prologue instructions */
/* OBSOLETE to reach some "real" code. */ */
/* OBSOLETE */
/* OBSOLETE #define SKIP_PROLOGUE(pc) (a29k_skip_prologue (pc)) */
/* OBSOLETE CORE_ADDR a29k_skip_prologue (); */
/* OBSOLETE */
/* OBSOLETE /* Immediately after a function call, return the saved pc. */
/* OBSOLETE Can't 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) ((frame->flags & TRANSPARENT_FRAME) \ */
/* OBSOLETE ? read_register (TPC_REGNUM) \ */
/* OBSOLETE : read_register (LR0_REGNUM)) */
/* OBSOLETE */
/* OBSOLETE /* Stack grows downward. */ */
/* OBSOLETE */
/* OBSOLETE #define INNER_THAN(lhs,rhs) ((lhs) < (rhs)) */
/* OBSOLETE */
/* OBSOLETE /* Stack must be aligned on 32-bit boundaries when synthesizing */
/* OBSOLETE function calls. */ */
/* OBSOLETE */
/* OBSOLETE #define STACK_ALIGN(ADDR) (((ADDR) + 3) & ~3) */
/* OBSOLETE */
/* OBSOLETE /* Sequence of bytes for breakpoint instruction. */ */
/* OBSOLETE /* ASNEQ 0x50, gr1, gr1 */
/* OBSOLETE The trap number 0x50 is chosen arbitrarily. */
/* OBSOLETE We let the command line (or previously included files) override this */
/* OBSOLETE setting. */ */
/* OBSOLETE #ifndef BREAKPOINT */
/* OBSOLETE #if TARGET_BYTE_ORDER == BFD_ENDIAN_BIG */
/* OBSOLETE #define BREAKPOINT {0x72, 0x50, 0x01, 0x01} */
/* OBSOLETE #else /* Target is little-endian. */ */
/* OBSOLETE #define BREAKPOINT {0x01, 0x01, 0x50, 0x72} */
/* OBSOLETE #endif /* Target is little-endian. */ */
/* OBSOLETE #endif /* BREAKPOINT */ */
/* 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 /* Allow the register declarations here to be overridden for remote */
/* OBSOLETE kernel debugging. */ */
/* OBSOLETE #if !defined (REGISTER_NAMES) */
/* OBSOLETE */
/* OBSOLETE /* Number of machine registers */ */
/* OBSOLETE */
/* OBSOLETE #define NUM_REGS 205 */
/* OBSOLETE */
/* OBSOLETE /* Initializer for an array of names of registers. */
/* OBSOLETE There should be NUM_REGS strings in this initializer. */
/* OBSOLETE */
/* OBSOLETE FIXME, add floating point registers and support here. */
/* OBSOLETE */
/* OBSOLETE Also note that this list does not attempt to deal with kernel */
/* OBSOLETE debugging (in which the first 32 registers are gr64-gr95). */ */
/* OBSOLETE */
/* OBSOLETE #define REGISTER_NAMES \ */
/* OBSOLETE {"gr96", "gr97", "gr98", "gr99", "gr100", "gr101", "gr102", "gr103", "gr104", \ */
/* OBSOLETE "gr105", "gr106", "gr107", "gr108", "gr109", "gr110", "gr111", "gr112", \ */
/* OBSOLETE "gr113", "gr114", "gr115", "gr116", "gr117", "gr118", "gr119", "gr120", \ */
/* OBSOLETE "gr121", "gr122", "gr123", "gr124", "gr125", "gr126", "gr127", \ */
/* OBSOLETE "lr0", "lr1", "lr2", "lr3", "lr4", "lr5", "lr6", "lr7", "lr8", "lr9", \ */
/* OBSOLETE "lr10", "lr11", "lr12", "lr13", "lr14", "lr15", "lr16", "lr17", "lr18", \ */
/* OBSOLETE "lr19", "lr20", "lr21", "lr22", "lr23", "lr24", "lr25", "lr26", "lr27", \ */
/* OBSOLETE "lr28", "lr29", "lr30", "lr31", "lr32", "lr33", "lr34", "lr35", "lr36", \ */
/* OBSOLETE "lr37", "lr38", "lr39", "lr40", "lr41", "lr42", "lr43", "lr44", "lr45", \ */
/* OBSOLETE "lr46", "lr47", "lr48", "lr49", "lr50", "lr51", "lr52", "lr53", "lr54", \ */
/* OBSOLETE "lr55", "lr56", "lr57", "lr58", "lr59", "lr60", "lr61", "lr62", "lr63", \ */
/* OBSOLETE "lr64", "lr65", "lr66", "lr67", "lr68", "lr69", "lr70", "lr71", "lr72", \ */
/* OBSOLETE "lr73", "lr74", "lr75", "lr76", "lr77", "lr78", "lr79", "lr80", "lr81", \ */
/* OBSOLETE "lr82", "lr83", "lr84", "lr85", "lr86", "lr87", "lr88", "lr89", "lr90", \ */
/* OBSOLETE "lr91", "lr92", "lr93", "lr94", "lr95", "lr96", "lr97", "lr98", "lr99", \ */
/* OBSOLETE "lr100", "lr101", "lr102", "lr103", "lr104", "lr105", "lr106", "lr107", \ */
/* OBSOLETE "lr108", "lr109", "lr110", "lr111", "lr112", "lr113", "lr114", "lr115", \ */
/* OBSOLETE "lr116", "lr117", "lr118", "lr119", "lr120", "lr121", "lr122", "lr123", \ */
/* OBSOLETE "lr124", "lr125", "lr126", "lr127", \ */
/* OBSOLETE "AI0", "AI1", "AI2", "AI3", "AI4", "AI5", "AI6", "AI7", "AI8", "AI9", \ */
/* OBSOLETE "AI10", "AI11", "AI12", "AI13", "AI14", "AI15", "FP", \ */
/* OBSOLETE "bp", "fc", "cr", "q", \ */
/* OBSOLETE "vab", "ops", "cps", "cfg", "cha", "chd", "chc", "rbp", "tmc", "tmr", \ */
/* OBSOLETE "pc0", "pc1", "pc2", "mmu", "lru", "fpe", "inte", "fps", "exo", "gr1", \ */
/* OBSOLETE "alu", "ipc", "ipa", "ipb" } */
/* OBSOLETE */
/* OBSOLETE /* */
/* OBSOLETE * Converts an sdb register number to an internal gdb register number. */
/* OBSOLETE * Currently under epi, gr96->0...gr127->31...lr0->32...lr127->159, or... */
/* OBSOLETE * gr64->0...gr95->31, lr0->32...lr127->159. */
/* OBSOLETE */ */
/* OBSOLETE #define SDB_REG_TO_REGNUM(value) \ */
/* OBSOLETE (((value) >= 96 && (value) <= 127) ? ((value) - 96) : \ */
/* OBSOLETE ((value) >= 128 && (value) <= 255) ? ((value) - 128 + LR0_REGNUM) : \ */
/* OBSOLETE (value)) */
/* OBSOLETE */
/* OBSOLETE /* */
/* OBSOLETE * Provide the processor register numbers of some registers that are */
/* OBSOLETE * expected/written in instructions that might change under different */
/* OBSOLETE * register sets. Namely, gcc can compile (-mkernel-registers) so that */
/* OBSOLETE * it uses gr64-gr95 in stead of gr96-gr127. */
/* OBSOLETE */ */
/* OBSOLETE #define MSP_HW_REGNUM 125 /* gr125 */ */
/* OBSOLETE #define RAB_HW_REGNUM 126 /* gr126 */ */
/* OBSOLETE */
/* OBSOLETE /* Convert Processor Special register #x to REGISTER_NAMES register # */ */
/* OBSOLETE #define SR_REGNUM(x) \ */
/* OBSOLETE ((x) < 15 ? VAB_REGNUM + (x) \ */
/* OBSOLETE : (x) >= 128 && (x) < 131 ? IPC_REGNUM + (x) - 128 \ */
/* OBSOLETE : (x) == 131 ? Q_REGNUM \ */
/* OBSOLETE : (x) == 132 ? ALU_REGNUM \ */
/* OBSOLETE : (x) >= 133 && (x) < 136 ? BP_REGNUM + (x) - 133 \ */
/* OBSOLETE : (x) >= 160 && (x) < 163 ? FPE_REGNUM + (x) - 160 \ */
/* OBSOLETE : (x) == 164 ? EXO_REGNUM \ */
/* OBSOLETE : (error ("Internal error in SR_REGNUM"), 0)) */
/* OBSOLETE #define GR96_REGNUM 0 */
/* OBSOLETE */
/* OBSOLETE /* Define the return register separately, so it can be overridden for */
/* OBSOLETE kernel procedure calling conventions. */ */
/* OBSOLETE #define RETURN_REGNUM GR96_REGNUM */
/* OBSOLETE #define GR1_REGNUM 200 */
/* OBSOLETE /* This needs to be the memory stack pointer, not the register stack pointer, */
/* OBSOLETE to make call_function work right. */ */
/* OBSOLETE #define SP_REGNUM MSP_REGNUM */
/* OBSOLETE #define FP_REGNUM 33 /* lr1 */ */
/* OBSOLETE */
/* OBSOLETE /* Return register for transparent calling convention (gr122). */ */
/* OBSOLETE #define TPC_REGNUM (122 - 96 + GR96_REGNUM) */
/* OBSOLETE */
/* OBSOLETE /* Large Return Pointer (gr123). */ */
/* OBSOLETE #define LRP_REGNUM (123 - 96 + GR96_REGNUM) */
/* OBSOLETE */
/* OBSOLETE /* Static link pointer (gr124). */ */
/* OBSOLETE #define SLP_REGNUM (124 - 96 + GR96_REGNUM) */
/* OBSOLETE */
/* OBSOLETE /* Memory Stack Pointer (gr125). */ */
/* OBSOLETE #define MSP_REGNUM (125 - 96 + GR96_REGNUM) */
/* OBSOLETE */
/* OBSOLETE /* Register allocate bound (gr126). */ */
/* OBSOLETE #define RAB_REGNUM (126 - 96 + GR96_REGNUM) */
/* OBSOLETE */
/* OBSOLETE /* Register Free Bound (gr127). */ */
/* OBSOLETE #define RFB_REGNUM (127 - 96 + GR96_REGNUM) */
/* OBSOLETE */
/* OBSOLETE /* Register Stack Pointer. */ */
/* OBSOLETE #define RSP_REGNUM GR1_REGNUM */
/* OBSOLETE #define LR0_REGNUM 32 */
/* OBSOLETE #define BP_REGNUM 177 */
/* OBSOLETE #define FC_REGNUM 178 */
/* OBSOLETE #define CR_REGNUM 179 */
/* OBSOLETE #define Q_REGNUM 180 */
/* OBSOLETE #define VAB_REGNUM 181 */
/* OBSOLETE #define OPS_REGNUM (VAB_REGNUM + 1) */
/* OBSOLETE #define CPS_REGNUM (VAB_REGNUM + 2) */
/* OBSOLETE #define CFG_REGNUM (VAB_REGNUM + 3) */
/* OBSOLETE #define CHA_REGNUM (VAB_REGNUM + 4) */
/* OBSOLETE #define CHD_REGNUM (VAB_REGNUM + 5) */
/* OBSOLETE #define CHC_REGNUM (VAB_REGNUM + 6) */
/* OBSOLETE #define RBP_REGNUM (VAB_REGNUM + 7) */
/* OBSOLETE #define TMC_REGNUM (VAB_REGNUM + 8) */
/* OBSOLETE #define TMR_REGNUM (VAB_REGNUM + 9) */
/* OBSOLETE #define NPC_REGNUM (VAB_REGNUM + 10) /* pc0 */ */
/* OBSOLETE #define PC_REGNUM (VAB_REGNUM + 11) /* pc1 */ */
/* OBSOLETE #define PC2_REGNUM (VAB_REGNUM + 12) */
/* OBSOLETE #define MMU_REGNUM (VAB_REGNUM + 13) */
/* OBSOLETE #define LRU_REGNUM (VAB_REGNUM + 14) */
/* OBSOLETE #define FPE_REGNUM (VAB_REGNUM + 15) */
/* OBSOLETE #define INTE_REGNUM (VAB_REGNUM + 16) */
/* OBSOLETE #define FPS_REGNUM (VAB_REGNUM + 17) */
/* OBSOLETE #define EXO_REGNUM (VAB_REGNUM + 18) */
/* OBSOLETE /* gr1 is defined above as 200 = VAB_REGNUM + 19 */ */
/* OBSOLETE #define ALU_REGNUM (VAB_REGNUM + 20) */
/* OBSOLETE #define PS_REGNUM ALU_REGNUM */
/* OBSOLETE #define IPC_REGNUM (VAB_REGNUM + 21) */
/* OBSOLETE #define IPA_REGNUM (VAB_REGNUM + 22) */
/* OBSOLETE #define IPB_REGNUM (VAB_REGNUM + 23) */
/* OBSOLETE */
/* OBSOLETE #endif /* !defined(REGISTER_NAMES) */ */
/* 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 */
/* OBSOLETE register N. */ */
/* OBSOLETE #define REGISTER_BYTE(N) ((N)*4) */
/* OBSOLETE */
/* OBSOLETE /* Number of bytes of storage in the actual machine representation */
/* OBSOLETE for register N. */ */
/* OBSOLETE */
/* OBSOLETE /* All regs are 4 bytes. */ */
/* OBSOLETE */
/* OBSOLETE #define REGISTER_RAW_SIZE(N) (4) */
/* OBSOLETE */
/* OBSOLETE /* Number of bytes of storage in the program's representation */
/* OBSOLETE for register N. */ */
/* OBSOLETE */
/* OBSOLETE /* All regs are 4 bytes. */ */
/* OBSOLETE */
/* OBSOLETE #define REGISTER_VIRTUAL_SIZE(N) (4) */
/* OBSOLETE */
/* OBSOLETE /* Largest value REGISTER_RAW_SIZE can have. */ */
/* OBSOLETE */
/* OBSOLETE #define MAX_REGISTER_RAW_SIZE (4) */
/* OBSOLETE */
/* OBSOLETE /* Largest value REGISTER_VIRTUAL_SIZE can have. */ */
/* OBSOLETE */
/* OBSOLETE #define MAX_REGISTER_VIRTUAL_SIZE (4) */
/* OBSOLETE */
/* OBSOLETE /* Return the GDB type object for the "standard" data type */
/* OBSOLETE of data in register N. */ */
/* OBSOLETE */
/* OBSOLETE #define REGISTER_VIRTUAL_TYPE(N) \ */
/* OBSOLETE (((N) == PC_REGNUM || (N) == LRP_REGNUM || (N) == SLP_REGNUM \ */
/* OBSOLETE || (N) == MSP_REGNUM || (N) == RAB_REGNUM || (N) == RFB_REGNUM \ */
/* OBSOLETE || (N) == GR1_REGNUM || (N) == FP_REGNUM || (N) == LR0_REGNUM \ */
/* OBSOLETE || (N) == NPC_REGNUM || (N) == PC2_REGNUM) \ */
/* OBSOLETE ? lookup_pointer_type (builtin_type_void) : builtin_type_int) */
/* OBSOLETE */
/* OBSOLETE /* Store the address of the place in which to copy the structure the */
/* OBSOLETE subroutine will return. This is called from call_function. */ */
/* OBSOLETE /* On the a29k the LRP points to the part of the structure beyond the first */
/* OBSOLETE 16 words. */ */
/* OBSOLETE #define STORE_STRUCT_RETURN(ADDR, SP) \ */
/* OBSOLETE write_register (LRP_REGNUM, (ADDR) + 16 * 4); */
/* OBSOLETE */
/* OBSOLETE /* Should call_function allocate stack space for a struct return? */ */
/* OBSOLETE /* On the a29k objects over 16 words require the caller to allocate space. */ */
/* OBSOLETE extern use_struct_convention_fn a29k_use_struct_convention; */
/* OBSOLETE #define USE_STRUCT_CONVENTION(gcc_p, type) a29k_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. */ */
/* OBSOLETE */
/* OBSOLETE #define EXTRACT_RETURN_VALUE(TYPE,REGBUF,VALBUF) \ */
/* OBSOLETE { \ */
/* OBSOLETE int reg_length = TYPE_LENGTH (TYPE); \ */
/* OBSOLETE if (reg_length > 16 * 4) \ */
/* OBSOLETE { \ */
/* OBSOLETE reg_length = 16 * 4; \ */
/* OBSOLETE read_memory (*((int *)(REGBUF) + LRP_REGNUM), (VALBUF) + 16 * 4, \ */
/* OBSOLETE TYPE_LENGTH (TYPE) - 16 * 4); \ */
/* OBSOLETE } \ */
/* OBSOLETE memcpy ((VALBUF), ((int *)(REGBUF))+RETURN_REGNUM, reg_length); \ */
/* OBSOLETE } */
/* 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 { \ */
/* OBSOLETE int reg_length = TYPE_LENGTH (TYPE); \ */
/* OBSOLETE if (reg_length > 16 * 4) \ */
/* OBSOLETE { \ */
/* OBSOLETE reg_length = 16 * 4; \ */
/* OBSOLETE write_memory (read_register (LRP_REGNUM), \ */
/* OBSOLETE (char *)(VALBUF) + 16 * 4, \ */
/* OBSOLETE TYPE_LENGTH (TYPE) - 16 * 4); \ */
/* OBSOLETE } \ */
/* OBSOLETE write_register_bytes (REGISTER_BYTE (RETURN_REGNUM), (char *)(VALBUF), \ */
/* OBSOLETE TYPE_LENGTH (TYPE)); \ */
/* OBSOLETE } */
/* OBSOLETE /* *INDENT-OFF* */ */
/* OBSOLETE /* The a29k user's guide documents well what the stacks look like. */
/* OBSOLETE But what isn't so clear there is how this interracts with the */
/* OBSOLETE symbols, or with GDB. */
/* OBSOLETE In the following saved_msp, saved memory stack pointer (which functions */
/* OBSOLETE as a memory frame pointer), means either */
/* OBSOLETE a register containing the memory frame pointer or, in the case of */
/* OBSOLETE functions with fixed size memory frames (i.e. those who don't use */
/* OBSOLETE alloca()), the result of the calculation msp + msize. */
/* OBSOLETE */
/* OBSOLETE LOC_ARG, LOC_LOCAL - For GCC, these are relative to saved_msp. */
/* OBSOLETE For high C, these are relative to msp (making alloca impossible). */
/* OBSOLETE LOC_REGISTER, LOC_REGPARM - The register number is the number at the */
/* OBSOLETE time the function is running (after the prologue), or in the case */
/* OBSOLETE of LOC_REGPARM, may be a register number in the range 160-175. */
/* OBSOLETE */
/* OBSOLETE The compilers do things like store an argument into memory, and then put out */
/* OBSOLETE a LOC_ARG for it, or put it into global registers and put out a */
/* OBSOLETE LOC_REGPARM. Thus is it important to execute the first line of */
/* OBSOLETE code (i.e. the line of the open brace, i.e. the prologue) of a function */
/* OBSOLETE before trying to print arguments or anything. */
/* OBSOLETE */
/* OBSOLETE The following diagram attempts to depict what is going on in memory */
/* OBSOLETE (see also the _a29k user's guide_) and also how that interacts with */
/* OBSOLETE GDB frames. We arbitrarily pick fci->frame to point the same place */
/* OBSOLETE as the register stack pointer; since we set it ourself in */
/* OBSOLETE INIT_EXTRA_FRAME_INFO, and access it only through the FRAME_* */
/* OBSOLETE macros, it doesn't really matter exactly how we */
/* OBSOLETE do it. However, note that FRAME_FP is used in two ways in GDB: */
/* OBSOLETE (1) as a "magic cookie" which uniquely identifies frames (even over */
/* OBSOLETE calls to the inferior), (2) (in PC_IN_CALL_DUMMY [ON_STACK]) */
/* OBSOLETE as the value of SP_REGNUM before the dummy frame was pushed. These */
/* OBSOLETE two meanings would be incompatible for the a29k if we defined */
/* OBSOLETE CALL_DUMMY_LOCATION == ON_STACK (but we don't, so don't worry about it). */
/* OBSOLETE Also note that "lr1" below, while called a frame pointer */
/* OBSOLETE in the user's guide, has only one function: To determine whether */
/* OBSOLETE registers need to be filled in the function epilogue. */
/* OBSOLETE */
/* OBSOLETE Consider the code: */
/* OBSOLETE < call bar> */
/* OBSOLETE loc1: . . . */
/* OBSOLETE bar: sub gr1,gr1,rsize_b */
/* OBSOLETE . . . */
/* OBSOLETE add mfp,msp,0 */
/* OBSOLETE sub msp,msp,msize_b */
/* OBSOLETE . . . */
/* OBSOLETE < call foo > */
/* OBSOLETE loc2: . . . */
/* OBSOLETE foo: sub gr1,gr1,rsize_f */
/* OBSOLETE . . . */
/* OBSOLETE add mfp,msp,0 */
/* OBSOLETE sub msp,msp,msize_f */
/* OBSOLETE . . . */
/* OBSOLETE loc3: < suppose the inferior stops here > */
/* OBSOLETE */
/* OBSOLETE memory stack register stack */
/* OBSOLETE | | |____________| */
/* OBSOLETE | | |____loc1____| */
/* OBSOLETE +------->|___________| | | ^ */
/* OBSOLETE | | ^ | | locals_b | | */
/* OBSOLETE | | | | |____________| | */
/* OBSOLETE | | | | | | | rsize_b */
/* OBSOLETE | | | msize_b | | args_to_f | | */
/* OBSOLETE | | | | |____________| | */
/* OBSOLETE | | | | |____lr1_____| V */
/* OBSOLETE | | V | |____loc2____|<----------------+ */
/* OBSOLETE | +--->|___________|<---------mfp | ^ | */
/* OBSOLETE | | | ^ | | locals_f | | | */
/* OBSOLETE | | | | msize_f | |____________| | | */
/* OBSOLETE | | | | | | | | rsize_f | */
/* OBSOLETE | | | V | | args | | | */
/* OBSOLETE | | |___________|<msp |____________| | | */
/* OBSOLETE | | |_____lr1____| V | */
/* OBSOLETE | | |___garbage__| <- gr1 <----+ | */
/* OBSOLETE | | | | */
/* OBSOLETE | | | | */
/* OBSOLETE | | pc=loc3 | | */
/* OBSOLETE | | | | */
/* OBSOLETE | | | | */
/* OBSOLETE | | frame cache | | */
/* OBSOLETE | | |_________________| | | */
/* OBSOLETE | | |rsize=rsize_b | | | */
/* OBSOLETE | | |msize=msize_b | | | */
/* OBSOLETE +---|--------saved_msp | | | */
/* OBSOLETE | |frame------------------------------------|---+ */
/* OBSOLETE | |pc=loc2 | | */
/* OBSOLETE | |_________________| | */
/* OBSOLETE | |rsize=rsize_f | | */
/* OBSOLETE | |msize=msize_f | | */
/* OBSOLETE +--------saved_msp | | */
/* OBSOLETE |frame------------------------------------+ */
/* OBSOLETE |pc=loc3 | */
/* OBSOLETE |_________________| */
/* OBSOLETE */
/* OBSOLETE So, is that sufficiently confusing? Welcome to the 29000. */
/* OBSOLETE Notes: */
/* OBSOLETE * The frame for foo uses a memory frame pointer but the frame for */
/* OBSOLETE bar does not. In the latter case the saved_msp is */
/* OBSOLETE computed by adding msize to the saved_msp of the */
/* OBSOLETE next frame. */
/* OBSOLETE * msize is in the frame cache only for high C's sake. */ */
/* OBSOLETE /* *INDENT-ON* */ */
/* OBSOLETE */
/* OBSOLETE */
/* OBSOLETE void read_register_stack (); */
/* OBSOLETE long read_register_stack_integer (); */
/* OBSOLETE */
/* OBSOLETE #define FRAME_INIT_SAVED_REGS(fi) /*no-op */ */
/* OBSOLETE */
/* OBSOLETE #define EXTRA_FRAME_INFO \ */
/* OBSOLETE CORE_ADDR saved_msp; \ */
/* OBSOLETE unsigned int rsize; \ */
/* OBSOLETE unsigned int msize; \ */
/* OBSOLETE unsigned char flags; */
/* OBSOLETE */
/* OBSOLETE /* Bits for flags in EXTRA_FRAME_INFO */ */
/* OBSOLETE #define TRANSPARENT_FRAME 0x1 /* This is a transparent frame */ */
/* OBSOLETE #define MFP_USED 0x2 /* A memory frame pointer is used */ */
/* OBSOLETE */
/* OBSOLETE /* Because INIT_FRAME_PC gets passed fromleaf, that's where we init */
/* OBSOLETE not only ->pc and ->frame, but all the extra stuff, when called from */
/* OBSOLETE get_prev_frame, that is. */ */
/* OBSOLETE #define INIT_EXTRA_FRAME_INFO(fromleaf, fci) init_extra_frame_info(fci) */
/* OBSOLETE void init_extra_frame_info (); */
/* OBSOLETE */
/* OBSOLETE #define INIT_FRAME_PC(fromleaf, fci) init_frame_pc(fromleaf, fci) */
/* OBSOLETE void init_frame_pc (); */
/* OBSOLETE */
/* OBSOLETE */
/* OBSOLETE /* FRAME_CHAIN takes a FRAME */
/* 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 /* On the a29k, the nominal address of a frame is the address on the */
/* OBSOLETE register stack of the return address (the one next to the incoming */
/* OBSOLETE arguments, not down at the bottom so nominal address == stack pointer). */
/* OBSOLETE */
/* OBSOLETE GDB expects "nominal address" to equal contents of FP_REGNUM, */
/* OBSOLETE at least when it comes time to create the innermost frame. */
/* OBSOLETE However, that doesn't work for us, so when creating the innermost */
/* OBSOLETE frame we set ->frame ourselves in INIT_EXTRA_FRAME_INFO. */ */
/* OBSOLETE */
/* OBSOLETE /* These are mostly dummies for the a29k because INIT_FRAME_PC */
/* OBSOLETE sets prev->frame instead. */ */
/* OBSOLETE /* If rsize is zero, we must be at end of stack (or otherwise hosed). */
/* OBSOLETE If we don't check rsize, we loop forever if we see rsize == 0. */ */
/* OBSOLETE #define FRAME_CHAIN(thisframe) \ */
/* OBSOLETE ((thisframe)->rsize == 0 \ */
/* OBSOLETE ? 0 \ */
/* OBSOLETE : (thisframe)->frame + (thisframe)->rsize) */
/* OBSOLETE */
/* OBSOLETE /* Determine if the frame has a 'previous' and back-traceable frame. */ */
/* OBSOLETE #define FRAME_IS_UNCHAINED(frame) ((frame)->flags & TRANSPARENT_FRAME) */
/* OBSOLETE */
/* OBSOLETE /* Find the previous frame of a transparent routine. */
/* OBSOLETE * For now lets not try and trace through a transparent routine (we might */
/* OBSOLETE * have to assume that all transparent routines are traps). */
/* OBSOLETE */ */
/* OBSOLETE #define FIND_PREV_UNCHAINED_FRAME(frame) 0 */
/* 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 #define FRAMELESS_FUNCTION_INVOCATION(FI) \ */
/* OBSOLETE (frameless_look_for_prologue (FI)) */
/* OBSOLETE */
/* OBSOLETE /* Saved pc (i.e. return address). */ */
/* OBSOLETE #define FRAME_SAVED_PC(fraim) \ */
/* OBSOLETE (read_register_stack_integer ((fraim)->frame + (fraim)->rsize, 4)) */
/* OBSOLETE */
/* OBSOLETE /* Local variables (i.e. LOC_LOCAL) are on the memory stack, with their */
/* OBSOLETE offsets being relative to the memory stack pointer (high C) or */
/* OBSOLETE saved_msp (gcc). */ */
/* OBSOLETE */
/* OBSOLETE #define FRAME_LOCALS_ADDRESS(fi) 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 /* We tried going to the effort of finding the tags word and getting */
/* OBSOLETE the argcount field from it, to support debugging assembler code. */
/* OBSOLETE Problem was, the "argcount" field never did hold the argument */
/* OBSOLETE count. */ */
/* OBSOLETE #define FRAME_NUM_ARGS(fi) (-1) */
/* OBSOLETE */
/* OBSOLETE #define FRAME_ARGS_ADDRESS(fi) FRAME_LOCALS_ADDRESS (fi) */
/* OBSOLETE */
/* OBSOLETE /* Return number of bytes at start of arglist that are not really args. */ */
/* OBSOLETE */
/* OBSOLETE #define FRAME_ARGS_SKIP 0 */
/* OBSOLETE */
/* OBSOLETE /* Provide our own get_saved_register. HAVE_REGISTER_WINDOWS is insufficient */
/* OBSOLETE because registers get renumbered on the a29k without getting saved. */ */
/* OBSOLETE */
/* OBSOLETE struct frame_info; */
/* OBSOLETE void a29k_get_saved_register (char *raw_buffer, int *optimized, */
/* OBSOLETE CORE_ADDR * addrp, struct frame_info *frame, */
/* OBSOLETE int regnum, enum lval_type *lvalp); */
/* OBSOLETE #define GET_SAVED_REGISTER(raw_buffer, optimized, addrp, frame, regnum, lval) \ */
/* OBSOLETE a29k_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval) */
/* OBSOLETE */
/* OBSOLETE /* Call function stuff. */ */
/* OBSOLETE /* *INDENT-OFF* */ */
/* OBSOLETE /* The dummy frame looks like this (see also the general frame picture */
/* OBSOLETE above): */
/* OBSOLETE */
/* OBSOLETE register stack */
/* OBSOLETE */
/* OBSOLETE | | frame for function */
/* OBSOLETE | locals_sproc | executing at time */
/* OBSOLETE |________________| of call_function. */
/* OBSOLETE | | We must not disturb */
/* OBSOLETE | args_out_sproc | it. */
/* OBSOLETE memory stack |________________| */
/* OBSOLETE |____lr1_sproc___|<-+ */
/* OBSOLETE | | |__retaddr_sproc_| | <-- gr1 (at start) */
/* OBSOLETE |____________|<-msp 0 <-----------mfp_dummy_____| | */
/* OBSOLETE | | (at start) | save regs | | */
/* OBSOLETE | arg_slop | | pc0,pc1 | | */
/* OBSOLETE | | | pc2,lr0 sproc | | */
/* OBSOLETE | (16 words) | | gr96-gr124 | | */
/* OBSOLETE |____________|<-msp 1--after | sr160-sr162 | | */
/* OBSOLETE | | PUSH_DUMMY_FRAME| sr128-sr135 | | */
/* OBSOLETE | struct ret | |________________| | */
/* OBSOLETE | 17+ | | | | */
/* OBSOLETE |____________|<- lrp | args_out_dummy | | */
/* OBSOLETE | struct ret | | (16 words) | | */
/* OBSOLETE | 16 | |________________| | */
/* OBSOLETE | (16 words) | |____lr1_dummy___|--+ */
/* OBSOLETE |____________|<- msp 2--after |_retaddr_dummy__|<- gr1 after */
/* OBSOLETE | | struct ret | | PUSH_DUMMY_FRAME */
/* OBSOLETE | margs17+ | area allocated | locals_inf | */
/* OBSOLETE | | |________________| called */
/* OBSOLETE |____________|<- msp 4--when | | function's */
/* OBSOLETE | | inf called | args_out_inf | frame (set up */
/* OBSOLETE | margs16 | |________________| by called */
/* OBSOLETE | (16 words) | |_____lr1_inf____| function). */
/* OBSOLETE |____________|<- msp 3--after | . | */
/* OBSOLETE | | args pushed | . | */
/* OBSOLETE | | | . | */
/* OBSOLETE | | */
/* OBSOLETE */
/* OBSOLETE arg_slop: This area is so that when the call dummy adds 16 words to */
/* OBSOLETE the msp, it won't end up larger than mfp_dummy (it is needed in the */
/* OBSOLETE case where margs and struct_ret do not add up to at least 16 words). */
/* OBSOLETE struct ret: This area is allocated by GDB if the return value is more */
/* OBSOLETE than 16 words. struct ret_16 is not used on the a29k. */
/* OBSOLETE margs: Pushed by GDB. The call dummy copies the first 16 words to */
/* OBSOLETE args_out_dummy. */
/* OBSOLETE retaddr_sproc: Contains the PC at the time we call the function. */
/* OBSOLETE set by PUSH_DUMMY_FRAME and read by POP_FRAME. */
/* OBSOLETE retaddr_dummy: This points to a breakpoint instruction in the dummy. */ */
/* OBSOLETE /* *INDENT-ON* */ */
/* OBSOLETE */
/* OBSOLETE */
/* OBSOLETE */
/* OBSOLETE /* Rsize for dummy frame, in bytes. */ */
/* OBSOLETE */
/* OBSOLETE /* Bytes for outgoing args, lr1, and retaddr. */ */
/* OBSOLETE #define DUMMY_ARG (2 * 4 + 16 * 4) */
/* OBSOLETE */
/* OBSOLETE /* Number of special registers (sr128-) to save. */ */
/* OBSOLETE #define DUMMY_SAVE_SR128 8 */
/* OBSOLETE /* Number of special registers (sr160-) to save. */ */
/* OBSOLETE #define DUMMY_SAVE_SR160 3 */
/* OBSOLETE /* Number of general (gr96- or gr64-) registers to save. */ */
/* OBSOLETE #define DUMMY_SAVE_GREGS 29 */
/* OBSOLETE */
/* OBSOLETE #define DUMMY_FRAME_RSIZE \ */
/* OBSOLETE (4 /* mfp_dummy */ \ */
/* OBSOLETE + 4 * 4 /* pc0, pc1, pc2, lr0 */ \ */
/* OBSOLETE + DUMMY_SAVE_GREGS * 4 \ */
/* OBSOLETE + DUMMY_SAVE_SR160 * 4 \ */
/* OBSOLETE + DUMMY_SAVE_SR128 * 4 \ */
/* OBSOLETE + DUMMY_ARG \ */
/* OBSOLETE + 4 /* pad to doubleword */ ) */
/* OBSOLETE */
/* OBSOLETE /* Push an empty stack frame, to record the current PC, etc. */ */
/* OBSOLETE */
/* OBSOLETE #define PUSH_DUMMY_FRAME push_dummy_frame() */
/* OBSOLETE extern void push_dummy_frame (); */
/* OBSOLETE */
/* OBSOLETE /* Discard from the stack the innermost frame, */
/* OBSOLETE restoring all saved registers. */ */
/* OBSOLETE */
/* OBSOLETE #define POP_FRAME pop_frame() */
/* OBSOLETE extern void pop_frame (); */
/* OBSOLETE */
/* OBSOLETE /* This sequence of words is the instructions */
/* OBSOLETE mtsrim cr, 15 */
/* OBSOLETE loadm 0, 0, lr2, msp ; load first 16 words of arguments into registers */
/* OBSOLETE add msp, msp, 16 * 4 ; point to the remaining arguments */
/* OBSOLETE CONST_INSN: */
/* OBSOLETE const lr0,inf ; (replaced by half of target addr) */
/* OBSOLETE consth lr0,inf ; (replaced by other half of target addr) */
/* OBSOLETE calli lr0, lr0 */
/* OBSOLETE aseq 0x40,gr1,gr1 ; nop */
/* OBSOLETE BREAKPT_INSN: */
/* OBSOLETE asneq 0x50,gr1,gr1 ; breakpoint (replaced by local breakpoint insn) */
/* OBSOLETE */ */
/* OBSOLETE */
/* OBSOLETE #error "This file is broken. GDB does not define HOST_BYTE_ORDER." */
/* OBSOLETE #if TARGET_BYTE_ORDER == HOST_BYTE_ORDER */
/* OBSOLETE #define BS(const) const */
/* OBSOLETE #else */
/* OBSOLETE #define BS(const) (((const) & 0xff) << 24) | \ */
/* OBSOLETE (((const) & 0xff00) << 8) | \ */
/* OBSOLETE (((const) & 0xff0000) >> 8) | \ */
/* OBSOLETE (((const) & 0xff000000) >> 24) */
/* OBSOLETE #endif */
/* OBSOLETE */
/* OBSOLETE /* Position of the "const" and blkt instructions within CALL_DUMMY in bytes. */ */
/* OBSOLETE #define CONST_INSN (3 * 4) */
/* OBSOLETE #define BREAKPT_INSN (7 * 4) */
/* OBSOLETE #define CALL_DUMMY { \ */
/* OBSOLETE BS(0x0400870f),\ */
/* OBSOLETE BS(0x36008200|(MSP_HW_REGNUM)), \ */
/* OBSOLETE BS(0x15000040|(MSP_HW_REGNUM<<8)|(MSP_HW_REGNUM<<16)), \ */
/* OBSOLETE BS(0x03ff80ff), \ */
/* OBSOLETE BS(0x02ff80ff), \ */
/* OBSOLETE BS(0xc8008080), \ */
/* OBSOLETE BS(0x70400101), \ */
/* OBSOLETE BS(0x72500101)} */
/* OBSOLETE #define CALL_DUMMY_LENGTH (8 * 4) */
/* OBSOLETE */
/* OBSOLETE #define CALL_DUMMY_START_OFFSET 0 /* Start execution at beginning of dummy */ */
/* OBSOLETE */
/* OBSOLETE /* Helper macro for FIX_CALL_DUMMY. WORDP is a long * which points to a */
/* OBSOLETE word in target byte order; bits 0-7 and 16-23 of *WORDP are replaced with */
/* OBSOLETE bits 0-7 and 8-15 of DATA (which is in host byte order). */ */
/* OBSOLETE */
/* OBSOLETE #if TARGET_BYTE_ORDER == BFD_ENDIAN_BIG */
/* OBSOLETE #define STUFF_I16(WORDP, DATA) \ */
/* OBSOLETE { \ */
/* OBSOLETE *((char *)(WORDP) + 3) = ((DATA) & 0xff);\ */
/* OBSOLETE *((char *)(WORDP) + 1) = (((DATA) >> 8) & 0xff);\ */
/* OBSOLETE } */
/* OBSOLETE #else /* Target is little endian. */ */
/* OBSOLETE #define STUFF_I16(WORDP, DATA) \ */
/* OBSOLETE { */
/* OBSOLETE *(char *) (WORDP) = ((DATA) & 0xff); */
/* OBSOLETE *((char *) (WORDP) + 2) = (((DATA) >> 8) & 0xff); */
/* OBSOLETE } */
/* OBSOLETE #endif /* Target is little endian. */ */
/* 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 /* Currently this stuffs in the address of the function that we are calling. */
/* OBSOLETE Since different a29k systems use different breakpoint instructions, it */
/* OBSOLETE also stuffs BREAKPOINT in the right place (to avoid having to */
/* OBSOLETE duplicate CALL_DUMMY in each tm-*.h file). */ */
/* OBSOLETE */
/* OBSOLETE #define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \ */
/* OBSOLETE {\ */
/* OBSOLETE STUFF_I16((char *)dummyname + CONST_INSN, fun); \ */
/* OBSOLETE STUFF_I16((char *)dummyname + CONST_INSN + 4, fun >> 16); \ */
/* OBSOLETE /* FIXME memcpy ((char *)(dummyname) + BREAKPT_INSN, break_insn, 4); */ \ */
/* OBSOLETE } */
/* OBSOLETE */
/* OBSOLETE /* a29k architecture has separate data & instruction memories -- wired to */
/* OBSOLETE different pins on the chip -- and can't execute the data memory. */
/* OBSOLETE Also, there should be space after text_end; */
/* OBSOLETE we won't get a SIGSEGV or scribble on data space. */ */
/* OBSOLETE */
/* OBSOLETE #define CALL_DUMMY_LOCATION AFTER_TEXT_END */
/* OBSOLETE */
/* OBSOLETE /* Because of this, we need (as a kludge) to know the addresses of the */
/* OBSOLETE text section. */ */
/* OBSOLETE */
/* OBSOLETE #define NEED_TEXT_START_END 1 */
/* OBSOLETE */
/* OBSOLETE /* How to translate register numbers in the .stab's into gdb's internal register */
/* OBSOLETE numbers. We don't translate them, but we warn if an invalid register */
/* OBSOLETE number is seen. Note that FIXME, we use the value "sym" as an implicit */
/* OBSOLETE argument in printing the error message. It happens to be available where */
/* OBSOLETE this macro is used. (This macro definition appeared in a late revision */
/* OBSOLETE of gdb-3.91.6 and is not well tested. Also, it should be a "complaint".) */ */
/* OBSOLETE */
/* OBSOLETE #define STAB_REG_TO_REGNUM(num) \ */
/* OBSOLETE (((num) > LR0_REGNUM + 127) \ */
/* OBSOLETE ? fprintf(stderr, \ */
/* OBSOLETE "Invalid register number %d in symbol table entry for %s\n", \ */
/* OBSOLETE (num), SYMBOL_SOURCE_NAME (sym)), (num) \ */
/* OBSOLETE : (num)) */
/* OBSOLETE */
/* OBSOLETE extern enum a29k_processor_types */
/* OBSOLETE { */
/* OBSOLETE a29k_unknown, */
/* OBSOLETE */
/* OBSOLETE /* Bit 0x400 of the CPS does *not* identify freeze mode, i.e. 29000, */
/* OBSOLETE 29030, etc. */ */
/* OBSOLETE a29k_no_freeze_mode, */
/* OBSOLETE */
/* OBSOLETE /* Bit 0x400 of the CPS does identify freeze mode, i.e. 29050. */ */
/* OBSOLETE a29k_freeze_mode */
/* OBSOLETE } */
/* OBSOLETE processor_type; */
/* OBSOLETE */
/* OBSOLETE /* We need three arguments for a general frame specification for the */
/* OBSOLETE "frame" or "info frame" command. */ */
/* OBSOLETE */
/* OBSOLETE #define SETUP_ARBITRARY_FRAME(argc, argv) setup_arbitrary_frame (argc, argv) */
/* OBSOLETE extern struct frame_info *setup_arbitrary_frame (int, CORE_ADDR *); */

View File

@ -1,230 +0,0 @@
/* OBSOLETE /* Target machine description for VxWorks on the 29k, for GDB, the GNU debugger. */
/* OBSOLETE Copyright 1994, 1995, 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 #include "value.h" */
/* OBSOLETE #include "a29k/tm-a29k.h" */
/* OBSOLETE #include "tm-vxworks.h" */
/* OBSOLETE */
/* OBSOLETE /* Number of registers in a ptrace_getregs call. */ */
/* OBSOLETE */
/* OBSOLETE #define VX_NUM_REGS (NUM_REGS) */
/* OBSOLETE */
/* OBSOLETE /* Number of registers in a ptrace_getfpregs call. */ */
/* OBSOLETE */
/* OBSOLETE /* #define VX_SIZE_FPREGS */ */
/* OBSOLETE */
/* OBSOLETE /* This is almost certainly the wrong place for this: */ */
/* OBSOLETE #define LR2_REGNUM 34 */
/* OBSOLETE */
/* OBSOLETE */
/* OBSOLETE /* Vxworks has its own CALL_DUMMY since it manages breakpoints in the kernel */ */
/* OBSOLETE */
/* OBSOLETE #undef CALL_DUMMY */
/* OBSOLETE */
/* OBSOLETE /* Replace the breakpoint instruction in the CALL_DUMMY with a nop. */
/* OBSOLETE For Vxworks, the breakpoint is set and deleted by calls to */
/* OBSOLETE CALL_DUMMY_BREAK_SET and CALL_DUMMY_BREAK_DELETE. */ */
/* OBSOLETE */
/* OBSOLETE #error "This file is broken. GDB does not define HOST_BYTE_ORDER." */
/* OBSOLETE #if TARGET_BYTE_ORDER == HOST_BYTE_ORDER */
/* OBSOLETE #define CALL_DUMMY {0x0400870f,\ */
/* OBSOLETE 0x36008200|(MSP_HW_REGNUM), \ */
/* OBSOLETE 0x15000040|(MSP_HW_REGNUM<<8)|(MSP_HW_REGNUM<<16), \ */
/* OBSOLETE 0x03ff80ff, 0x02ff80ff, 0xc8008080, 0x70400101, 0x70400101} */
/* OBSOLETE #else /* Byte order differs. */ */
/* OBSOLETE #define CALL_DUMMY {0x0f870004,\ */
/* OBSOLETE 0x00820036|(MSP_HW_REGNUM << 24), \ */
/* OBSOLETE 0x40000015|(MSP_HW_REGNUM<<8)|(MSP_HW_REGNUM<<16), \ */
/* OBSOLETE 0xff80ff03, 0xff80ff02, 0x808000c8, 0x01014070, 0x01014070} */
/* OBSOLETE #endif /* Byte order differs. */ */
/* OBSOLETE */
/* OBSOLETE */
/* OBSOLETE /* For the basic CALL_DUMMY definitions, see "tm-29k.h." We use the */
/* OBSOLETE same CALL_DUMMY code, but define FIX_CALL_DUMMY (and related macros) */
/* OBSOLETE locally to handle remote debugging of VxWorks targets. The difference */
/* OBSOLETE is in the setting and clearing of the breakpoint at the end of the */
/* OBSOLETE CALL_DUMMY code fragment; under VxWorks, we can't simply insert a */
/* OBSOLETE breakpoint instruction into the code, since that would interfere with */
/* OBSOLETE the breakpoint management mechanism on the target. */
/* OBSOLETE Note that CALL_DUMMY is a piece of code that is used to call any C function */
/* OBSOLETE thru VxGDB */ */
/* OBSOLETE */
/* OBSOLETE /* The offset of the instruction within the CALL_DUMMY code where we */
/* OBSOLETE want the inferior to stop after the function call has completed. */
/* OBSOLETE call_function_by_hand () sets a breakpoint here (via CALL_DUMMY_BREAK_SET), */
/* OBSOLETE which POP_FRAME later deletes (via CALL_DUMMY_BREAK_DELETE). */ */
/* OBSOLETE */
/* OBSOLETE #define CALL_DUMMY_STOP_OFFSET (7 * 4) */
/* OBSOLETE */
/* OBSOLETE /* The offset of the first instruction of the CALL_DUMMY code fragment */
/* OBSOLETE relative to the frame pointer for a dummy frame. This is equal to */
/* OBSOLETE the size of the CALL_DUMMY plus the arg_slop area size (see the diagram */
/* OBSOLETE in "tm-29k.h"). */ */
/* OBSOLETE /* PAD : the arg_slop area size doesn't appear to me to be useful since, the */
/* OBSOLETE call dummy code no longer modify the msp. See below. This must be checked. */ */
/* OBSOLETE */
/* OBSOLETE #define CALL_DUMMY_OFFSET_IN_FRAME (CALL_DUMMY_LENGTH + 16 * 4) */
/* OBSOLETE */
/* OBSOLETE /* Insert the specified number of args and function address */
/* OBSOLETE into a CALL_DUMMY sequence stored at DUMMYNAME, replace the third */
/* OBSOLETE instruction (add msp, msp, 16*4) with a nop, and leave the final nop. */
/* OBSOLETE We can't keep using a CALL_DUMMY that modify the msp since, for VxWorks, */
/* OBSOLETE CALL_DUMMY is stored in the Memory Stack. Adding 16 words to the msp */
/* OBSOLETE would then make possible for the inferior to overwrite the CALL_DUMMY code, */
/* OBSOLETE thus creating a lot of trouble when exiting the inferior to come back in */
/* OBSOLETE a CALL_DUMMY code that no longer exists... Furthermore, ESF are also stored */
/* OBSOLETE from the msp in the memory stack. If msp is set higher than the dummy code, */
/* OBSOLETE an ESF may clobber this code. */ */
/* OBSOLETE */
/* OBSOLETE #if TARGET_BYTE_ORDER == BFD_ENDIAN_BIG */
/* OBSOLETE #define NOP_INSTR 0x70400101 */
/* OBSOLETE #else /* Target is little endian */ */
/* OBSOLETE #define NOP_INSTR 0x01014070 */
/* OBSOLETE #endif */
/* OBSOLETE */
/* OBSOLETE #undef FIX_CALL_DUMMY */
/* OBSOLETE #define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \ */
/* OBSOLETE { \ */
/* OBSOLETE *(int *)((char *)dummyname + 8) = NOP_INSTR; \ */
/* OBSOLETE STUFF_I16((char *)dummyname + CONST_INSN, fun); \ */
/* OBSOLETE STUFF_I16((char *)dummyname + CONST_INSN + 4, fun >> 16); \ */
/* OBSOLETE } */
/* OBSOLETE */
/* OBSOLETE /* For VxWorks, CALL_DUMMY must be stored in the stack of the task that is */
/* OBSOLETE being debugged and executed "in the context of" this task */ */
/* OBSOLETE */
/* OBSOLETE #undef CALL_DUMMY_LOCATION */
/* OBSOLETE #define CALL_DUMMY_LOCATION ON_STACK */
/* OBSOLETE */
/* OBSOLETE /* Set or delete a breakpoint at the location within a CALL_DUMMY code */
/* OBSOLETE fragment where we want the target program to stop after the function */
/* OBSOLETE call is complete. CALL_DUMMY_ADDR is the address of the first */
/* OBSOLETE instruction in the CALL_DUMMY. DUMMY_FRAME_ADDR is the value of the */
/* OBSOLETE frame pointer in the dummy frame. */
/* OBSOLETE */
/* OBSOLETE NOTE: in the both of the following definitions, we take advantage of */
/* OBSOLETE knowledge of the implementation of the target breakpoint operation, */
/* OBSOLETE in that we pass a null pointer as the second argument. It seems */
/* OBSOLETE reasonable to assume that any target requiring the use of */
/* OBSOLETE CALL_DUMMY_BREAK_{SET,DELETE} will not store the breakpoint */
/* OBSOLETE shadow contents in GDB; in any case, this assumption is vaild */
/* OBSOLETE for all VxWorks-related targets. */ */
/* OBSOLETE */
/* OBSOLETE #define CALL_DUMMY_BREAK_SET(call_dummy_addr) \ */
/* OBSOLETE target_insert_breakpoint ((call_dummy_addr) + CALL_DUMMY_STOP_OFFSET, \ */
/* OBSOLETE (char *) 0) */
/* OBSOLETE */
/* OBSOLETE #define CALL_DUMMY_BREAK_DELETE(dummy_frame_addr) \ */
/* OBSOLETE target_remove_breakpoint ((dummy_frame_addr) - (CALL_DUMMY_OFFSET_IN_FRAME \ */
/* OBSOLETE - CALL_DUMMY_STOP_OFFSET), \ */
/* OBSOLETE (char *) 0) */
/* OBSOLETE */
/* OBSOLETE /* Return nonzero if the pc is executing within a CALL_DUMMY frame. */ */
/* OBSOLETE */
/* OBSOLETE #define PC_IN_CALL_DUMMY(pc, sp, frame_address) \ */
/* OBSOLETE ((pc) >= (sp) \ */
/* OBSOLETE && (pc) <= (sp) + CALL_DUMMY_OFFSET_IN_FRAME + CALL_DUMMY_LENGTH) */
/* OBSOLETE */
/* OBSOLETE /* Defining this prevents us from trying to pass a structure-valued argument */
/* OBSOLETE to a function called via the CALL_DUMMY mechanism. This is not handled */
/* OBSOLETE properly in call_function_by_hand (), and the fix might require re-writing */
/* OBSOLETE the CALL_DUMMY handling for all targets (at least, a clean solution */
/* OBSOLETE would probably require this). Arguably, this should go in "tm-29k.h" */
/* OBSOLETE rather than here. */ */
/* OBSOLETE */
/* OBSOLETE #define STRUCT_VAL_ARGS_UNSUPPORTED */
/* OBSOLETE */
/* OBSOLETE #define BKPT_OFFSET (7 * 4) */
/* OBSOLETE #define BKPT_INSTR 0x72500101 */
/* OBSOLETE */
/* OBSOLETE #undef FIX_CALL_DUMMY */
/* OBSOLETE #define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \ */
/* OBSOLETE {\ */
/* OBSOLETE STUFF_I16((char *)dummyname + CONST_INSN, fun);\ */
/* OBSOLETE STUFF_I16((char *)dummyname + CONST_INSN + 4, fun >> 16);\ */
/* OBSOLETE *(int *)((char *)dummyname + BKPT_OFFSET) = BKPT_INSTR;\ */
/* OBSOLETE } */
/* OBSOLETE */
/* OBSOLETE */
/* OBSOLETE /* Offsets into jmp_buf. They are derived from VxWorks' REG_SET struct */
/* OBSOLETE (see VxWorks' setjmp.h). Note that Sun2, Sun3 and SunOS4 and VxWorks have */
/* OBSOLETE different REG_SET structs, hence different layouts for the jmp_buf struct. */
/* OBSOLETE Only JB_PC is needed for getting the saved PC value. */ */
/* OBSOLETE */
/* OBSOLETE #define JB_ELEMENT_SIZE 4 /* size of each element in jmp_buf */ */
/* OBSOLETE #define JB_PC 3 /* offset of pc (pc1) in jmp_buf */ */
/* OBSOLETE */
/* OBSOLETE /* Figure out where the longjmp will land. We expect that we have just entered */
/* OBSOLETE longjmp and haven't yet setup the stack frame, so the args are still in the */
/* OBSOLETE output regs. lr2 (LR2_REGNUM) points at the jmp_buf structure from which we */
/* OBSOLETE extract the pc (JB_PC) that we will land at. The pc is copied into ADDR. */
/* OBSOLETE This routine returns true on success */ */
/* OBSOLETE */
/* OBSOLETE #define GET_LONGJMP_TARGET(ADDR) get_longjmp_target(ADDR) */
/* OBSOLETE extern int get_longjmp_target (CORE_ADDR *); */
/* OBSOLETE */
/* OBSOLETE /* VxWorks adjusts the PC after a breakpoint has been hit. */ */
/* OBSOLETE */
/* OBSOLETE #undef DECR_PC_AFTER_BREAK */
/* OBSOLETE #define DECR_PC_AFTER_BREAK 0 */
/* OBSOLETE */
/* OBSOLETE /* Do whatever promotions are appropriate on a value being returned */
/* OBSOLETE from a function. VAL is the user-supplied value, and FUNC_TYPE */
/* OBSOLETE is the return type of the function if known, else 0. */
/* OBSOLETE */
/* OBSOLETE For the Am29k, as far as I understand, if the function return type is known, */
/* OBSOLETE cast the value to that type; otherwise, ensure that integer return values */
/* OBSOLETE fill all of gr96. */
/* OBSOLETE */
/* OBSOLETE This definition really belongs in "tm-29k.h", since it applies */
/* OBSOLETE to most Am29K-based systems; but once moved into that file, it might */
/* OBSOLETE need to be redefined for all Am29K-based targets that also redefine */
/* OBSOLETE STORE_RETURN_VALUE. For now, to be safe, we define it here. */ */
/* OBSOLETE */
/* OBSOLETE #define PROMOTE_RETURN_VALUE(val, func_type) \ */
/* OBSOLETE do { \ */
/* OBSOLETE if (func_type) \ */
/* OBSOLETE val = value_cast (func_type, val); \ */
/* OBSOLETE if ((TYPE_CODE (VALUE_TYPE (val)) == TYPE_CODE_INT \ */
/* OBSOLETE || TYPE_CODE (VALUE_TYPE (val)) == TYPE_CODE_ENUM) \ */
/* OBSOLETE && TYPE_LENGTH (VALUE_TYPE (val)) < REGISTER_RAW_SIZE (0)) \ */
/* OBSOLETE val = value_cast (builtin_type_int, val); \ */
/* OBSOLETE } while (0) */
/* OBSOLETE */
/* OBSOLETE extern int vx29k_frame_chain_valid (CORE_ADDR, struct frame_info *); */
/* OBSOLETE #define FRAME_CHAIN_VALID(chain, thisframe) vx29k_frame_chain_valid (chain, thisframe) */
/* OBSOLETE */
/* OBSOLETE extern CORE_ADDR frame_saved_call_site (); */
/* OBSOLETE */
/* OBSOLETE #undef PREPARE_TO_INIT_FRAME_INFO */
/* OBSOLETE #define PREPARE_TO_INIT_FRAME_INFO(fci) do { \ */
/* OBSOLETE long current_msp = read_register (MSP_REGNUM); \ */
/* OBSOLETE if (PC_IN_CALL_DUMMY (fci->pc, current_msp, 0)) \ */
/* OBSOLETE { \ */
/* OBSOLETE fci->rsize = DUMMY_FRAME_RSIZE; \ */
/* OBSOLETE fci->msize = 0; \ */
/* OBSOLETE fci->saved_msp = \ */
/* OBSOLETE read_register_stack_integer (fci->frame + DUMMY_FRAME_RSIZE - 4, 4); \ */
/* OBSOLETE fci->flags |= (TRANSPARENT|MFP_USED); \ */
/* OBSOLETE return; \ */
/* OBSOLETE } \ */
/* OBSOLETE } while (0) */

View File

@ -1,4 +0,0 @@
# OBSOLETE # Target: AMD 29k running VxWorks
# OBSOLETE TDEPFILES= a29k-tdep.o remote-vx.o remote-vx29k.o xdr_ld.o xdr_ptrace.o xdr_rdb.o
# OBSOLETE TM_FILE= tm-vx29k.h
# OBSOLETE MT_CFLAGS = -DNO_HIF_SUPPORT

View File

@ -4,6 +4,3 @@ XM_CLIBS= -lbsd
NAT_FILE= nm-i386lynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
## OBSOLETE ## GDBSERVER_LIBS= -lbsd
## OBSOLETE ## GDBSERVER_DEPFILES= low-lynx.o

View File

@ -1,5 +1,3 @@
# Target: Intel 386 running NetBSD
TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o i386nbsd-tdep.o
TM_FILE= tm-nbsd.h
## OBSOLETE ## GDBSERVER_DEPFILES= low-nbsd.o

View File

@ -1,5 +1,3 @@
# Target: Intel 386 running NetBSD
TDEPFILES= i386-tdep.o i387-tdep.o i386bsd-tdep.o
TM_FILE= tm-nbsdelf.h
## OBSOLETE ## GDBSERVER_DEPFILES= low-nbsd.o

View File

@ -1,5 +1,3 @@
# Target: AMD x86-64 running GNU/Linux
TDEPFILES= x86-64-tdep.o x86-64-linux-tdep.o i387-tdep.o dwarf2cfi.o \
solib.o solib-svr4.o solib-legacy.o
## OBSOLETE ## GDBSERVER_DEPFILES= low-linux.o

View File

@ -3,6 +3,3 @@ TDEPFILES= m32r-tdep.o monitor.o m32r-rom.o dsrec.o
TM_FILE= tm-m32r.h
SIM_OBS = remote-sim.o
SIM = ../sim/m32r/libsim.a
## OBSOLETE ## GDBSERVER_DEPFILES= low-sim.o
## OBSOLETE ## GDBSERVER_LIBS = ../../sim/m32r/libsim.a ../../bfd/libbfd.a ../../libiberty/libiberty.a ../../opcodes/libopcodes.a ../../intl/libintl.a

View File

@ -4,6 +4,3 @@ XM_CLIBS= -lbsd
NAT_FILE= nm-m68klynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
## OBSOLETE ## GDBSERVER_LIBS= -lbsd
## OBSOLETE ## GDBSERVER_DEPFILES= low-lynx.o

View File

@ -1,5 +1,3 @@
# Target: Motorola m68k running NetBSD
TDEPFILES= m68k-tdep.o m68knbsd-tdep.o
TM_FILE= tm-nbsd.h
## OBSOLETE ## GDBSERVER_DEPFILES= low-nbsd.o

View File

@ -2,5 +2,3 @@
XM_FILE= xm-sun3os4.h
NAT_FILE= nm-sun3.h
NATDEPFILES= fork-child.o inftarg.o infptrace.o corelow.o sun3-nat.o
## OBSOLETE ## GDBSERVER_DEPFILES= low-sun3.o

View File

@ -3,6 +3,3 @@ TDEPFILES= mips-tdep.o remote-mips.o
TM_FILE= tm-vr5000.h
SIM_OBS = remote-sim.o
SIM = ../sim/mips/libsim.a
## OBSOLETE ## GDBSERVER_DEPFILES= low-sim.o
## OBSOLETE ## GDBSERVER_LIBS = ../../sim/mips/libsim.a ../../bfd/libbfd.a ../../libiberty/libiberty.a -lm ../../intl/libintl.a

View File

@ -1,5 +1,3 @@
# Target: PC532 running NetBSD
TDEPFILES= ns32k-tdep.o
TM_FILE= tm-nbsd.h
## OBSOLETE ## GDBSERVER_DEPFILES= low-nbsd.o

View File

@ -2,5 +2,3 @@
XM_FILE= xm-hppab.h
NAT_FILE= nm-hppab.h
NATDEPFILES= hppab-nat.o corelow.o core-aout.o inftarg.o fork-child.o somread.o infptrace.o hpread.o somsolib.o
## OBSOLETE ## GDBSERVER_DEPFILES= low-hppabsd.o

View File

@ -3,6 +3,3 @@ XM_FILE= xm-hppab.h
NAT_FILE= nm-hppao.h
NATDEPFILES= fork-child.o m3-nat.o hppam3-nat.o somread.o hpread.o somsolib.o
NAT_CLIBS= -lmachid -lnetname -lmach
## OBSOLETE ## GDBSERVER_DEPFILES= low-hppabsd.o

View File

@ -2,7 +2,5 @@
TDEPFILES= rs6000-tdep.o ppc-linux-tdep.o solib.o solib-svr4.o
TM_FILE= tm-nbsd.h
## OBSOLETE ## GDBSERVER_DEPFILES= low-nbsd.o
SIM_OBS = remote-sim.o
SIM = ../sim/ppc/libsim.a

View File

@ -4,6 +4,3 @@ XM_CLIBS= -lbsd
NAT_FILE= nm-rs6000ly.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o xcoffread.o
## OBSOLETE ## GDBSERVER_LIBS= -lbsd
## OBSOLETE ## GDBSERVER_DEPFILES= low-lynx.o

View File

@ -4,5 +4,3 @@ TDEPFILES=s390-tdep.o solib.o
# Post 5.0 tdep-files
TDEPFILES+=solib-svr4.o solib-legacy.o
GDB_MULTI_ARCH=GDB_MULTI_ARCH_PARTIAL
## OBSOLETE ## GDBSERVER_DEPFILES= low-linux.o s390-tdep.o s390-nat.o

View File

@ -5,7 +5,5 @@ TDEPFILES=s390-tdep.o solib.o
TDEPFILES+=solib-svr4.o solib-legacy.o
GDB_MULTI_ARCH=GDB_MULTI_ARCH_PARTIAL
## OBSOLETE ## GDBSERVER_DEPFILES= low-linux.o s390-tdep.o s390-nat.o
# needed for gdbserver.
MT_CFLAGS= -DCONFIG_ARCH_S390X

View File

@ -12,5 +12,3 @@ NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o \
LOADLIBES = -ldl -rdynamic
HOST_IPC=-DBSD_IPC
## OBSOLETE ## GDBSERVER_DEPFILES= low-sparc.o

View File

@ -4,6 +4,3 @@ XM_CLIBS= -lbsd
NAT_FILE= nm-sparclynx.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o lynx-nat.o
## OBSOLETE ## GDBSERVER_LIBS= -lbsd
## OBSOLETE ## GDBSERVER_DEPFILES= low-lynx.o

View File

@ -3,8 +3,6 @@ NAT_FILE= nm-sun4os4.h
NATDEPFILES= fork-child.o infptrace.o inftarg.o corelow.o sparc-nat.o
HOST_IPC=-DBSD_IPC
## OBSOLETE ## GDBSERVER_DEPFILES= low-sparc.o
# Setting XM_CLIBS=-lresolv would let us use the DNS, but that would screw
# anyone who wants to use NIS, which includes at least one Cygnus customer
# (PR 3593). So leave it this way until/unless we find a resolver which can

View File

@ -37,15 +37,6 @@ esac
case "${target}" in
# OBSOLETE a29k-*-aout*) gdb_target=a29k ;;
# OBSOLETE a29k-*-coff*) gdb_target=a29k ;;
# OBSOLETE a29k-*-elf*) gdb_target=a29k ;;
# OBSOLETE a29k-*-ebmon*) gdb_target=a29k ;;
# OBSOLETE a29k-*-kern*) gdb_target=a29k-kern ;;
# OBSOLETE a29k-*-none*) gdb_target=a29k ;;
# OBSOLETE a29k-*-udi*) gdb_target=a29k-udi ;;
# OBSOLETE a29k-*-vxworks*) gdb_target=vx29k ;;
alpha*-*-osf*) gdb_target=alpha-osf1 ;;
alpha*-*-linux*) gdb_target=alpha-linux ;;
alpha*-*-freebsd*) gdb_target=fbsd ;;

View File

@ -262,14 +262,6 @@ linux-s390-low.o: linux-s390-low.c $(linux_low_h) $(server_h)
linux-sh-low.o: linux-sh-low.c $(linux_low_h) $(server_h)
linux-x86-64-low.o: linux-x86-64-low.c $(linux_low_h) $(server_h)
# OBSOLETE TARGETS
# OBSOLETE # low-lynx.o : ${srcdir}/low-lynx.c ${srcdir}/server.h
# OBSOLETE # low-nbsd.o : ${srcdir}/low-nbsd.c ${srcdir}/server.h
# OBSOLETE # low-sim.o : ${srcdir}/low-sim.c ${srcdir}/server.h
# OBSOLETE # low-sparc.o : $(srcdir)/low-sparc.c $(srcdir)/server.h
# OBSOLETE # low-sun3.o : $(srcdir)/low-sun3.c $(srcdir)/server.h
# OBSOLETE # low-hppabsd.o : $(srcdir)/low-hppabsd.c $(srcdir)/server.h
reg-arm.o : reg-arm.c $(regdef_h)
reg-arm.c : $(srcdir)/../regformats/reg-arm.dat $(regdat_sh)
sh $(regdat_sh) $(srcdir)/../regformats/reg-arm.dat reg-arm.c

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff