This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] Fix name of enum in include/gdb/sim-arm.h
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 15 Jun 2002 18:52:43 -0400
- Subject: [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,