]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
get_IntRegInfo(x86): handle missing %bh case (Jim Clause)
authorJulian Seward <jseward@acm.org>
Sat, 11 Oct 2008 10:18:16 +0000 (10:18 +0000)
committerJulian Seward <jseward@acm.org>
Sat, 11 Oct 2008 10:18:16 +0000 (10:18 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8653

exp-ptrcheck/h_main.c

index fe01712f7975dc66c4b2c74bdcd4e6c0ad6b8b34..ccce7a46849516ba00b59a8e42d4d8bb8240af70 100644 (file)
@@ -1258,7 +1258,7 @@ static void get_IntRegInfo ( /*OUT*/IntRegInfo* iii, Int offset, Int szB )
    if (o == GOF(ECX)     && is21) {         o -= 0; goto contains_o; }
    if (o == GOF(ECX)+1   && is21) { o -= 1; o -= 0; goto contains_o; }
    if (o == GOF(EBX)     && is21) {         o -= 0; goto contains_o; }
-   // bl case
+   if (o == GOF(EBX)+1   && is21) { o -= 1; o -= 0; goto contains_o; }
    if (o == GOF(EDX)     && is21) {         o -= 0; goto contains_o; }
    if (o == GOF(EDX)+1   && is21) { o -= 1; o -= 0; goto contains_o; }
    if (o == GOF(ESI)     && is21) {         o -= 0; goto contains_o; }