Skip to contentSkip to conversation

[6014] target-sh4: disable debug code

Qemu-devel Aurelien Jarno 1 participant 1 message Dec 13, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 6014

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6014
Author:   aurel32
Date:     2008-12-13 18:57:46 +0000 (Sat, 13 Dec 2008)

Log Message:
-----------
target-sh4: disable debug code

Modified Paths:
--------------
trunk/target-sh4/translate.c

Modified: trunk/target-sh4/translate.c
===================================================================

target-sh4/translate.c +3 -1
@@ -1762,9 +1762,11 @@
 	}
 	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;
 }