aboutsummaryrefslogtreecommitdiff
path: root/sim/common/cgen-defs.h
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2004-10-08 15:33:09 +0000
committerFrank Ch. Eigler <fche@redhat.com>2004-10-08 15:33:09 +0000
commita3bb10891cc10b63dd4c7f406fa59c4c2f4e791b (patch)
treea3cb2496e24a185022169b4ce976d869cc505692 /sim/common/cgen-defs.h
parent873d03ee3a14befe593102e8b658f3c9dde3ae76 (diff)
downloadgdb-a3bb10891cc10b63dd4c7f406fa59c4c2f4e791b.zip
gdb-a3bb10891cc10b63dd4c7f406fa59c4c2f4e791b.tar.gz
gdb-a3bb10891cc10b63dd4c7f406fa59c4c2f4e791b.tar.bz2
2004-10-07 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* cgen-defs.h (ENDSWITCH): Changed to compile with gcc-3.4.2.
Diffstat (limited to 'sim/common/cgen-defs.h')
-rw-r--r--sim/common/cgen-defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/cgen-defs.h b/sim/common/cgen-defs.h
index fbdfb9a..cf9c028 100644
--- a/sim/common/cgen-defs.h
+++ b/sim/common/cgen-defs.h
@@ -130,7 +130,7 @@ typedef enum {
#define CASE(N, X) case_##N##_##X
#define BREAK(N) goto end_switch_##N
#define DEFAULT(N) default_##N
-#define ENDSWITCH(N) end_switch_##N:
+#define ENDSWITCH(N) end_switch_##N:;
#else
#define SWITCH(N, X) switch (X)
#define CASE(N, X) case X /* FIXME: old sem-switch had (@arch@_,X) here */