aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/igen.c
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-11-09 19:50:51 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-11-09 19:50:51 +0000
commitba62bb1c7408ed5f014c21f3d9fa70d2424fea08 (patch)
tree04fbb0278b7069a7e21e1e8601156c16d9d552dd /sim/ppc/igen.c
parent4a378b13e498c735d6f51c546466d4d6a06da74c (diff)
downloadgdb-ba62bb1c7408ed5f014c21f3d9fa70d2424fea08.zip
gdb-ba62bb1c7408ed5f014c21f3d9fa70d2424fea08.tar.gz
gdb-ba62bb1c7408ed5f014c21f3d9fa70d2424fea08.tar.bz2
Turn on INLINES if using GCC to compile simulator; Print more stuff if requests -t trace; If !WITH_ASSERT, do not check whether illegal bits in instruction are set
Diffstat (limited to 'sim/ppc/igen.c')
-rw-r--r--sim/ppc/igen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/ppc/igen.c b/sim/ppc/igen.c
index b017d9a..49d567e 100644
--- a/sim/ppc/igen.c
+++ b/sim/ppc/igen.c
@@ -1854,7 +1854,7 @@ lf_print_c_validate(lf *file,
lf_printf(file, "\n");
lf_printf(file, "/* validate: %s */\n",
instruction->file_entry->fields[insn_format]);
- lf_printf(file, "if ((instruction & 0x%x) != 0x%x)\n",
+ lf_printf(file, "if (WITH_ASSERT && (instruction & 0x%x) != 0x%x)\n",
check_mask, check_val);
lf_indent(file, +2);
lf_print_idecode_illegal(file);