Fix name of enum used in cast (sim_fetch_register, sim_store_register).
This commit is contained in:
parent
a3efda28be
commit
983b727e70
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2002-06-08 Andrew Cagney <cagney@redhat.com>
|
||||||
|
|
||||||
|
* interp.c (sim_fetch_register): Fix name of enum used in cast.
|
||||||
|
(sim_store_register): Ditto.
|
||||||
|
|
||||||
2002-06-02 Elena Zannoni <ezannoni@redhat.com>
|
2002-06-02 Elena Zannoni <ezannoni@redhat.com>
|
||||||
|
|
||||||
From Jason Eckhardt <jle@redhat.com>
|
From Jason Eckhardt <jle@redhat.com>
|
||||||
|
|
|
@ -1307,7 +1307,7 @@ sim_fetch_register (sd, rn, memory, length)
|
||||||
int length;
|
int length;
|
||||||
{
|
{
|
||||||
int size;
|
int size;
|
||||||
switch ((enum gdb_d10v_regs) rn)
|
switch ((enum sim_d10v_regs) rn)
|
||||||
{
|
{
|
||||||
case SIM_D10V_R0_REGNUM:
|
case SIM_D10V_R0_REGNUM:
|
||||||
case SIM_D10V_R1_REGNUM:
|
case SIM_D10V_R1_REGNUM:
|
||||||
|
@ -1394,7 +1394,7 @@ sim_store_register (sd, rn, memory, length)
|
||||||
int length;
|
int length;
|
||||||
{
|
{
|
||||||
int size;
|
int size;
|
||||||
switch ((enum sim_d10v_reg) rn)
|
switch ((enum sim_d10v_regs) rn)
|
||||||
{
|
{
|
||||||
case SIM_D10V_R0_REGNUM:
|
case SIM_D10V_R0_REGNUM:
|
||||||
case SIM_D10V_R1_REGNUM:
|
case SIM_D10V_R1_REGNUM:
|
||||||
|
|
Loading…
Reference in a new issue