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:
parent
ade25b0dff
commit
8e0f950d89
|
@ -7697,6 +7697,7 @@ static void decode_opc (CPUState *env, DisasContext *ctx)
|
||||||
break;
|
break;
|
||||||
case OPC_SYSCALL:
|
case OPC_SYSCALL:
|
||||||
generate_exception(ctx, EXCP_SYSCALL);
|
generate_exception(ctx, EXCP_SYSCALL);
|
||||||
|
ctx->bstate = BS_STOP;
|
||||||
break;
|
break;
|
||||||
case OPC_BREAK:
|
case OPC_BREAK:
|
||||||
generate_exception(ctx, EXCP_BREAK);
|
generate_exception(ctx, EXCP_BREAK);
|
||||||
|
|
Loading…
Reference in a new issue