diff options
author | Kevin Buettner <kevinb@redhat.com> | 2004-04-06 00:13:01 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2004-04-06 00:13:01 +0000 |
commit | 8b67aa36eac12705175381f8b47fd30efd3d5b0d (patch) | |
tree | c92fab05d61e1a228e0214622bcb6143d553005a /gdb/frv-tdep.h | |
parent | 973d1c04bcb7d2e03e523051f875f2062f887df5 (diff) | |
download | gdb-8b67aa36eac12705175381f8b47fd30efd3d5b0d.zip gdb-8b67aa36eac12705175381f8b47fd30efd3d5b0d.tar.gz gdb-8b67aa36eac12705175381f8b47fd30efd3d5b0d.tar.bz2 |
* frv-tdep.h (fsr0_regnum, acc0_regnum, acc7_regnum, accg0123_regnum)
(accg4567_regnum, msr0_regnum, msr1_regnum, gner0_regnum)
(gner1_regnum, fner0_regnum, fner1_regnum, accg0_regnum)
(accg7_regnum): New constants.
(last_spr_regnum, last_pseudo_regnum): Update.
* frv-tdep.c (new_variant): Initialize names for fsr0, acc0-acc7,
accg0-accg7, msr0, msr1, gner0, gner1, fner0, and fner1.
(frv_pseudo_register_read, frv_pseudo_register_write): Add support
for accg registers.
(frv_register_sim_regno): Update spr_map[].
Diffstat (limited to 'gdb/frv-tdep.h')
-rw-r--r-- | gdb/frv-tdep.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/gdb/frv-tdep.h b/gdb/frv-tdep.h index 5b9b88b..52aacdd 100644 --- a/gdb/frv-tdep.h +++ b/gdb/frv-tdep.h @@ -66,7 +66,18 @@ enum { lcr_regnum = 146, iacc0h_regnum = 147, iacc0l_regnum = 148, - last_spr_regnum = 148, + fsr0_regnum = 149, + acc0_regnum = 150, + acc7_regnum = 157, + accg0123_regnum = 158, + accg4567_regnum = 159, + msr0_regnum = 160, + msr1_regnum = 161, + gner0_regnum = 162, + gner1_regnum = 163, + fner0_regnum = 164, + fner1_regnum = 165, + last_spr_regnum = 165, /* The total number of registers we know exist. */ frv_num_regs = last_spr_regnum + 1, @@ -76,8 +87,10 @@ enum { /* iacc0 - the 64-bit concatenation of iacc0h and iacc0l. */ iacc0_regnum = first_pseudo_regnum + 0, + accg0_regnum = first_pseudo_regnum + 1, + accg7_regnum = accg0_regnum + 7, - last_pseudo_regnum = iacc0_regnum, + last_pseudo_regnum = accg7_regnum, frv_num_pseudo_regs = last_pseudo_regnum - first_pseudo_regnum + 1, }; |