Commit bacc637a448e984d538004e3962411e27cd6b42c

Authored by aurel32
1 parent 71968fa6

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
Showing 1 changed file with 3 additions and 1 deletions
target-sh4/translate.c
... ... @@ -1762,9 +1762,11 @@ static void _decode_opc(DisasContext * ctx)
1762 1762 }
1763 1763 return;
1764 1764 }
1765   -
  1765 +#if 0
1766 1766 fprintf(stderr, "unknown instruction 0x%04x at pc 0x%08x\n",
1767 1767 ctx->opcode, ctx->pc);
  1768 + fflush(stderr);
  1769 +#endif
1768 1770 gen_helper_raise_illegal_instruction();
1769 1771 ctx->bstate = BS_EXCP;
1770 1772 }
... ...