From 341e1968dd0ebc317b392d8276af22cc7d62fc36 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Tue, 6 Apr 2004 00:13:01 +0000 Subject: * 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[]. --- gdb/frv-tdep.h | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'gdb/frv-tdep.h') diff --git a/gdb/frv-tdep.h b/gdb/frv-tdep.h index 5b9b88b93a5..52aacdd4126 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, }; -- cgit v1.2.1