* gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
authorKevin Buettner <kevinb@redhat.com>
Wed, 7 Jul 2010 23:22:43 +0000 (23:22 +0000)
committerKevin Buettner <kevinb@redhat.com>
Wed, 7 Jul 2010 23:22:43 +0000 (23:22 +0000)
sim/rx/ChangeLog
sim/rx/gdb-if.c

index 53a071730a51bf772caf5c0c954dff8bac081128..25dc711ae524e076b6096a3976c34a0595acc01b 100644 (file)
@@ -1,3 +1,7 @@
+2010-07-07  Kevin Buettner  <kevinb@redhat.com>
+
+       * gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
+
 2010-06-24  Kevin Buettner  <kevinb@redhat.com>
 
        * gdb-if.c (trace.h): Include.
index b92c01d624b31b192afc69c3fa995515389ac70a..1f6fe955fa26648a7b28558971d5bf1d7f9d5a74 100644 (file)
@@ -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);