]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added (trivially) support for "push %ss". Minimally tested, along with "pop
authorNicholas Nethercote <njn@valgrind.org>
Sun, 12 Oct 2003 17:34:05 +0000 (17:34 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sun, 12 Oct 2003 17:34:05 +0000 (17:34 +0000)
%ss".

MERGE TO STABLE, probably

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1910

coregrind/vg_to_ucode.c

index 369fa07e4d97287d4faf7b5d71afc365c7e235ce..afa7347de690861ab2ba6e9540330a0c2a26d791 100644 (file)
@@ -5446,11 +5446,13 @@ static Addr disInstr ( UCodeBlock* cb, Addr eip, Bool* isEnd )
     }
 
     case 0x06: /* PUSH %ES */
+    case 0x16: /* PUSH %SS */
     case 0x1E: /* PUSH %DS */
     {
        Int sreg = INVALID_TEMPREG;
        switch(opc) {
           case 0x06: sreg = R_ES; break;
+          case 0x16: sreg = R_SS; break;
            case 0x1E: sreg = R_DS; break;
        }