mips: advance PC for SYSCALL instruction. this fixes issue #157

This commit is contained in:
Nguyen Anh Quynh
2015-09-28 10:58:43 +08:00
parent 0b971a4413
commit 2b0b4169bc
5 changed files with 13 additions and 1 deletions

View File

@ -19348,6 +19348,7 @@ gen_intermediate_code_internal(MIPSCPU *cpu, TranslationBlock *tb,
switch (ctx.bstate) {
case BS_STOP:
gen_goto_tb(&ctx, 0, ctx.pc);
env->uc->next_pc = ctx.pc;
break;
case BS_NONE:
save_cpu_state(&ctx, 0);