mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
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;
|
||||
case OPC_SYSCALL:
|
||||
generate_exception(ctx, EXCP_SYSCALL);
|
||||
ctx->bstate = BS_STOP;
|
||||
break;
|
||||
case OPC_BREAK:
|
||||
generate_exception(ctx, EXCP_BREAK);
|
||||
|
Loading…
Reference in New Issue
Block a user