diff options
author | David Edelsohn <dje.gcc@gmail.com> | 1995-03-02 00:11:22 +0000 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 1995-03-02 00:11:22 +0000 |
commit | 9e3501580cad011005cf83809a40d94eda90c9f3 (patch) | |
tree | 024cd35f43f6e50e9155a3bd5331d63d353ae776 /gdb/config/sparc/sp64.mt | |
parent | 35983432272c9803456b175cd9c02a7762162a30 (diff) | |
download | gdb-9e3501580cad011005cf83809a40d94eda90c9f3.zip gdb-9e3501580cad011005cf83809a40d94eda90c9f3.tar.gz gdb-9e3501580cad011005cf83809a40d94eda90c9f3.tar.bz2 |
* sparc-tdep.c (NUM_SPARC_FPREGS): Define.
(SPARC_INTREG_SIZE): Define.
(*): Use SPARC_INTREG_SIZE instead of REGISTER_RAW_SIZE (intreg)
where appropriate.
(enum branch_type): New value `done_retry'.
(isbranch): Renamed from isannulled. All callers changed.
Support new sparc64 branch insns.
(single_step): Handle done_retry.
(sparc_extract_struct_value_address): Don't assume 4 byte regs.
(get_saved_register): Likewise.
(sparc_push_dummy_frame): Likewise.
(sparc_frame_find_saved_regs): Likewise.
(sparc_pop_frame): Likewise. Don't refer to FPS_REGNUM, CPS_REGNUM,
or PS_REGNUM if not sparc64. sparc64 has 64 fp regs.
(sparc64_extract_struct_value_address): New function.
(dump_ccreg, sparc_print_register_hook): Likewise.
* sp64-tdep.c: Deleted.
* sparc/tm-sp64.h (GDB_TARGET_IS_SPARC64): Define.
(NUM_REGS): Reduce by 2, cle/tle are in the pstate reg.
(CC_HAS_LONG_LONG): Define.
(REGISTER_NAMES): Delete cle/tle and reorganize.
(PS_REGNUM, FPS_REGNUM, CPS_REGNUM): Delete, they're ifdef'd out of
sparc-tdep.c now.
(REGISTER_BYTES): Update.
(REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): Delete.
(EXTRACT_RETURN_VALUE): Delete. Use definition in tm-sparc.h.
(NO_SINGLE_STEP): Likewise.
* sparc/tm-sparc.h (EXTRACT_VALUE_RETURN): Don't assume 4 byte regs.
* sparc/sp64.mt: Move simulator support ...
* sparc/sp64sim.mt: ... to here.
Diffstat (limited to 'gdb/config/sparc/sp64.mt')
-rw-r--r-- | gdb/config/sparc/sp64.mt | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/gdb/config/sparc/sp64.mt b/gdb/config/sparc/sp64.mt index 1968acd..8bb1e07 100644 --- a/gdb/config/sparc/sp64.mt +++ b/gdb/config/sparc/sp64.mt @@ -1,17 +1,9 @@ -# Target: SPARC64 (with simulator) -# FIXME: May not always want the simulator. +# Target: SPARC64 # solib.o and procfs.o taken out for now. We don't have shared libraries yet, # and the elf version requires procfs.o but the a.out version doesn't. # Then again, having procfs.o in a target makefile fragment seems wrong. -TDEPFILES = sparc-tdep.o sp64-tdep.o $(SIMFILES) +TDEPFILES = sparc-tdep.o TM_FILE= tm-sp64.h # Need gcc for long long support. CC = gcc - -# Regular "have long long" detection is disabled for now. -MH_CFLAGS = -DFORCE_LONG_LONG -I${srcdir}/../sim/sp64 -SIMFILES = remote-sim.o ../sim/sp64/libsim.a - -# The simulator uses the sqrt() function. -TM_CLIBS = -lm |