From a1669f9a2857b565ab76436bf44c4f90b9baee07 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Wed, 7 Jul 2010 23:22:43 +0000 Subject: [PATCH] * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum. --- sim/rx/ChangeLog | 4 ++++ sim/rx/gdb-if.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index 53a071730a5..25dc711ae52 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 b92c01d624b..1f6fe955fa2 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); -- 2.30.2