Stop translation after a syscall instruciton.

Signed-off-by: Paul Brook <paul@codesourcery.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7124 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
pbrook 2009-04-16 10:56:43 +00:00
parent ade25b0dff
commit 8e0f950d89

View File

@ -7697,6 +7697,7 @@ static void decode_opc (CPUState *env, DisasContext *ctx)
break;
case OPC_SYSCALL:
generate_exception(ctx, EXCP_SYSCALL);
ctx->bstate = BS_STOP;
break;
case OPC_BREAK:
generate_exception(ctx, EXCP_BREAK);