projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a61814
)
Workaround qemu guest SIGSEGVs with cmpxchg8b insn, by Juergen Keil.
author
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 27 Apr 2007 00:01:20 +0000
(
00:01
+0000)
committer
ths
<ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 27 Apr 2007 00:01:20 +0000
(
00:01
+0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2732
c046a42c
-6fe2-441c-8c8c-
71466251a162
target-i386/translate.c
patch
|
blob
|
history
diff --git
a/target-i386/translate.c
b/target-i386/translate.c
index 735acb0e47d7c37afa22556cb649e85358ae82ad..53ccc85990df36e22ac30b35ea5b012c966f5901 100644
(file)
--- a/
target-i386/translate.c
+++ b/
target-i386/translate.c
@@
-3797,6
+3797,7
@@
static target_ulong disas_insn(DisasContext *s, target_ulong pc_start)
mod = (modrm >> 6) & 3;
if (mod == 3)
goto illegal_op;
+ gen_jmp_im(pc_start - s->cs_base);
if (s->cc_op != CC_OP_DYNAMIC)
gen_op_set_cc_op(s->cc_op);
gen_lea_modrm(s, modrm, ®_addr, &offset_addr);