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 name of enum in include/gdb/sim-arm.h


(ulgh),

It appears that the GCC I normally use (2.96) doesn't spot badly named enums. Anyway, this fixes it.

committed,
Andrew

2002-06-15  Andrew Cagney  <ac131313@redhat.com>

	* sim-arm.h (enum sim_arm_regs): Rename sim_arm_regnum.

Index: sim-arm.h
===================================================================
RCS file: /cvs/src/src/include/gdb/sim-arm.h,v
retrieving revision 1.1
diff -u -r1.1 sim-arm.h
--- sim-arm.h	12 Jun 2002 21:19:42 -0000	1.1
+++ sim-arm.h	15 Jun 2002 22:48:17 -0000
@@ -28,7 +28,7 @@
 extern "C" { // }
 #endif
 
-enum sim_arm_regnum
+enum sim_arm_regs
 {
   SIM_ARM_R0_REGNUM,
   SIM_ARM_R1_REGNUM,

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