From: Julian Seward Date: Sat, 11 Oct 2008 10:18:16 +0000 (+0000) Subject: get_IntRegInfo(x86): handle missing %bh case (Jim Clause) X-Git-Tag: svn/VALGRIND_3_4_0~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00cb35ba076299dbbc51adb081159a21ac0ab902;p=thirdparty%2Fvalgrind.git get_IntRegInfo(x86): handle missing %bh case (Jim Clause) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8653 --- diff --git a/exp-ptrcheck/h_main.c b/exp-ptrcheck/h_main.c index fe01712f79..ccce7a4684 100644 --- a/exp-ptrcheck/h_main.c +++ b/exp-ptrcheck/h_main.c @@ -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; }