diff options
Diffstat (limited to 'target-i386/translate.c')
-rw-r--r-- | target-i386/translate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/translate.c b/target-i386/translate.c index a00ce0426f..743aff7653 100644 --- a/target-i386/translate.c +++ b/target-i386/translate.c @@ -4626,7 +4626,7 @@ static target_ulong disas_insn(DisasContext *s, target_ulong pc_start) s->cc_op = CC_OP_DYNAMIC; } gen_jmp_im(pc_start - s->cs_base); - gen_op_syscall(); + gen_op_syscall(s->pc - pc_start); gen_eob(s); break; case 0x107: /* sysret */ |