aboutsummaryrefslogtreecommitdiff
path: root/sim/rx/gdb-if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/rx/gdb-if.c')
-rw-r--r--sim/rx/gdb-if.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c
index b92c01d..1f6fe95 100644
--- a/sim/rx/gdb-if.c
+++ b/sim/rx/gdb-if.c
@@ -622,6 +622,10 @@ sim_store_register (SIM_DESC sd, int regno, unsigned char *buf, int length)
case sim_rx_fpsw_regnum:
put_reg (fpsw, val);
break;
+ case sim_rx_acc_regnum:
+ put_reg (acclo, val & 0xffffffff);
+ put_reg (acchi, (val >> 32) & 0xffffffff);
+ break;
default:
fprintf (stderr, "rx minisim: unrecognized register number: %d\n",
regno);