From: Florian Krohm Date: Thu, 19 Apr 2012 14:23:48 +0000 (+0000) Subject: Correctly update the guest IA at the end of an insn to point to X-Git-Tag: svn/VALGRIND_3_8_1^2~182^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5ceedab1441f3f8234832fd085b7fb90249c52e;p=thirdparty%2Fvalgrind.git Correctly update the guest IA at the end of an insn to point to the next insn, not the current one. git-svn-id: svn://svn.valgrind.org/vex/branches/TCHAIN@2288 --- diff --git a/VEX/priv/guest_s390_toIR.c b/VEX/priv/guest_s390_toIR.c index f5d9619177..26190f0b4a 100644 --- a/VEX/priv/guest_s390_toIR.c +++ b/VEX/priv/guest_s390_toIR.c @@ -13619,7 +13619,7 @@ disInstr_S390_WRK(UChar *insn) /* Decode success */ switch (dres.whatNext) { case Dis_Continue: - put_IA(mkaddr_expr(guest_IA_curr_instr)); + put_IA(mkaddr_expr(guest_IA_next_instr)); break; case Dis_ResteerU: case Dis_ResteerC: