diff options
author | Kevin Buettner <kevinb@redhat.com> | 2003-11-24 16:45:03 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2003-11-24 16:45:03 +0000 |
commit | d74c4203711ebf4fb6c88dd9a0f85e702c96195a (patch) | |
tree | 2f7aad67f2cfb3061ef0a542220ea843921d12f9 /sim/frv/frv-sim.h | |
parent | 70b911ad67b47c978693f4c9e12fb2b0c75a6fea (diff) | |
download | fsf-binutils-gdb-d74c4203711ebf4fb6c88dd9a0f85e702c96195a.zip fsf-binutils-gdb-d74c4203711ebf4fb6c88dd9a0f85e702c96195a.tar.gz fsf-binutils-gdb-d74c4203711ebf4fb6c88dd9a0f85e702c96195a.tar.bz2 |
* frv-sim.h (GR_REGNUM_MAX, FR_REGNUM_MAX, PC_REGNUM, SPR_REGNUM_MIN)
(SPR_REGNUM_MAX): Delete.
* frv.c (gdb/sim-frv.h): Include.
(frvbf_fetch_register, frvbf_store_register): Use register number
constants from gdb/sim-frv.h. Check availability of general
purpose and float registers.
Diffstat (limited to 'sim/frv/frv-sim.h')
-rw-r--r-- | sim/frv/frv-sim.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sim/frv/frv-sim.h b/sim/frv/frv-sim.h index 53d131f..39da19c 100644 --- a/sim/frv/frv-sim.h +++ b/sim/frv/frv-sim.h @@ -29,13 +29,6 @@ with this program; if not, write to the Free Software Foundation, Inc., #define H_SPR_ACCG4 1476 #define H_SPR_ACCG63 1535 -/* gdb register numbers. */ -#define GR_REGNUM_MAX 63 -#define FR_REGNUM_MAX 127 -#define PC_REGNUM 128 -#define SPR_REGNUM_MIN 129 -#define SPR_REGNUM_MAX (SPR_REGNUM_MIN + 4096 - 1) - /* Initialization of the frv cpu. */ void frv_initialize (SIM_CPU *, SIM_DESC); void frv_term (SIM_DESC); |