* gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.

This commit is contained in:
Kevin Buettner 2010-07-07 23:22:43 +00:00
parent 2dfb8c1771
commit a1669f9a28
2 changed files with 8 additions and 0 deletions

View 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.

View 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);