diff options
Diffstat (limited to 'sim/d10v')
-rw-r--r-- | sim/d10v/ChangeLog | 5 | ||||
-rw-r--r-- | sim/d10v/interp.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 86c4021..67b3ab7 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -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> From Jason Eckhardt <jle@redhat.com> diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c index 43c2551..37a2e11 100644 --- a/sim/d10v/interp.c +++ b/sim/d10v/interp.c @@ -1307,7 +1307,7 @@ sim_fetch_register (sd, rn, memory, length) int length; { int size; - switch ((enum gdb_d10v_regs) rn) + switch ((enum sim_d10v_regs) rn) { case SIM_D10V_R0_REGNUM: case SIM_D10V_R1_REGNUM: @@ -1394,7 +1394,7 @@ sim_store_register (sd, rn, memory, length) int length; { int size; - switch ((enum sim_d10v_reg) rn) + switch ((enum sim_d10v_regs) rn) { case SIM_D10V_R0_REGNUM: case SIM_D10V_R1_REGNUM: |