aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2002-08-28 16:01:31 +0000
committerDave Brolley <brolley@redhat.com>2002-08-28 16:01:31 +0000
commit051b807af79cfd6259032a75c49e981209a63ce1 (patch)
tree9d944c238933303913d4178a366c1d36638a9ec3 /sim
parente822a2a0741fbb0d50f9cf9a1e2f6c88894c7d0d (diff)
downloadgdb-051b807af79cfd6259032a75c49e981209a63ce1.zip
gdb-051b807af79cfd6259032a75c49e981209a63ce1.tar.gz
gdb-051b807af79cfd6259032a75c49e981209a63ce1.tar.bz2
2002-08-28 Dave Brolley <brolley@redhat.com>
* gen-support.c (gen_support_h): Generate '#define semantic_illegal <PREFIX>_semantic_illegal'.
Diffstat (limited to 'sim')
-rw-r--r--sim/igen/ChangeLog5
-rw-r--r--sim/igen/gen-support.c18
2 files changed, 19 insertions, 4 deletions
diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog
index 436ba3b..9484c22 100644
--- a/sim/igen/ChangeLog
+++ b/sim/igen/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-28 Dave Brolley <brolley@redhat.com>
+
+ * gen-support.c (gen_support_h): Generate
+ '#define semantic_illegal <PREFIX>_semantic_illegal'.
+
2002-08-22 Chris Demetriou <cgd@broadcom.com>
* compare_igen_models: New script.
diff --git a/sim/igen/gen-support.c b/sim/igen/gen-support.c
index 93efaa7..e2663ac 100644
--- a/sim/igen/gen-support.c
+++ b/sim/igen/gen-support.c
@@ -141,10 +141,14 @@ gen_support_h (lf *file,
lf_printf(file, "#define _SD SD_ /* deprecated */\n");
lf_printf(file, "\n");
- /* Map <PREFIX>_instruction_word and <PREFIX>_idecode_issue onto the
- shorter instruction_word and idecode_issue. Map defined here as,
- name space problems are created when the name is defined in
- idecode.h */
+ /* Map <PREFIX>_xxxx onto the shorter xxxx for the following names:
+
+ instruction_word
+ idecode_issue
+ semantic_illegal
+
+ Map defined here as name space problems are created when the name is
+ defined in idecode.h */
if (strcmp (options.module.idecode.prefix.l, "") != 0)
{
lf_indent_suppress (file);
@@ -159,6 +163,12 @@ gen_support_h (lf *file,
options.module.idecode.prefix.l,
"idecode_issue");
lf_printf (file, "\n");
+ lf_indent_suppress (file);
+ lf_printf (file, "#define %s %s%s\n",
+ "semantic_illegal",
+ options.module.idecode.prefix.l,
+ "semantic_illegal");
+ lf_printf (file, "\n");
}
/* output a declaration for all functions */