diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index 53a071730a..25dc711ae5 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -1,3 +1,7 @@ +2010-07-07 Kevin Buettner + + * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum. + 2010-06-24 Kevin Buettner * gdb-if.c (trace.h): Include. diff --git a/sim/rx/gdb-if.c b/sim/rx/gdb-if.c index b92c01d624..1f6fe955fa 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);