From 983b727e70b2732e14ab6278ef15f488cd8983c9 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 8 Jun 2002 22:19:56 +0000 Subject: [PATCH] Fix name of enum used in cast (sim_fetch_register, sim_store_register). --- sim/d10v/ChangeLog | 5 +++++ sim/d10v/interp.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 86c402187d5..67b3ab73a13 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,8 @@ +2002-06-08 Andrew Cagney + + * interp.c (sim_fetch_register): Fix name of enum used in cast. + (sim_store_register): Ditto. + 2002-06-02 Elena Zannoni From Jason Eckhardt diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c index 43c25513a0c..37a2e1177d1 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: -- 2.30.2