* gdb-if.c (sim_store_register): Add case for sim_rx_acc_regnum.
This commit is contained in:
parent
2dfb8c1771
commit
a1669f9a28
@ -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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user