This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] Fix tipo's in sim/d10v/interp.c


FYI,

This fixes a an error I introduced in d10v/interp.c.  It compiles again :-/

committed,
Andrew
2002-06-08  Andrew Cagney  <cagney@redhat.com>

	* interp.c (sim_fetch_register): Fix name of enum used in cast.
	(sim_store_register): Ditto.

Index: interp.c
===================================================================
RCS file: /cvs/src/src/sim/d10v/interp.c,v
retrieving revision 1.9
diff -u -r1.9 interp.c
--- interp.c	1 Jun 2002 18:15:43 -0000	1.9
+++ interp.c	8 Jun 2002 21:10:26 -0000
@@ -1307,7 +1307,7 @@
      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 @@
      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:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]