summaryrefslogtreecommitdiff
path: root/target-sh4/translate.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-13 18:57:46 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-13 18:57:46 +0000
commitbacc637a448e984d538004e3962411e27cd6b42c (patch)
treec04f6bf25795389e458f8cfe3ed260973b3c42c7 /target-sh4/translate.c
parent71968fa65b9088fa746a5b99c093a7e835e3fade (diff)
downloadqemu-bacc637a448e984d538004e3962411e27cd6b42c.tar.gz
qemu-bacc637a448e984d538004e3962411e27cd6b42c.tar.bz2
qemu-bacc637a448e984d538004e3962411e27cd6b42c.zip
target-sh4: disable debug code
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6014 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-sh4/translate.c')
-rw-r--r--target-sh4/translate.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/target-sh4/translate.c b/target-sh4/translate.c
index d5d5d50977..55b6c439c0 100644
--- a/target-sh4/translate.c
+++ b/target-sh4/translate.c
@@ -1762,9 +1762,11 @@ static void _decode_opc(DisasContext * ctx)
}
return;
}
-
+#if 0
fprintf(stderr, "unknown instruction 0x%04x at pc 0x%08x\n",
ctx->opcode, ctx->pc);
+ fflush(stderr);
+#endif
gen_helper_raise_illegal_instruction();
ctx->bstate = BS_EXCP;
}