]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Correctly update the guest IA at the end of an insn to point to
authorFlorian Krohm <florian@eich-krohm.de>
Thu, 19 Apr 2012 14:23:48 +0000 (14:23 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Thu, 19 Apr 2012 14:23:48 +0000 (14:23 +0000)
the next insn, not the current one.

git-svn-id: svn://svn.valgrind.org/vex/branches/TCHAIN@2288

VEX/priv/guest_s390_toIR.c

index f5d961917754e0accfd3036645c2ae34005ab1aa..26190f0b4ac5e6f72a62008fe564c8988d96fa85 100644 (file)
@@ -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: