From cbfc739f1a084ca6ff677027f8e3303f329398e6 Mon Sep 17 00:00:00 2001 From: Chris Sienkiewicz Date: Mon, 11 Jun 2018 11:12:44 -0700 Subject: [PATCH] Fix PCODE not having thumb bit set when comparing two addresses (dotnet/coreclr#18247) Commit migrated from https://github.com/dotnet/coreclr/commit/ccf7bfc9a2e08178d30e9c1430755dc0ffd9b0a2 --- src/coreclr/src/debug/ee/debugger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/debug/ee/debugger.h b/src/coreclr/src/debug/ee/debugger.h index f3206f1..b443fcf 100644 --- a/src/coreclr/src/debug/ee/debugger.h +++ b/src/coreclr/src/debug/ee/debugger.h @@ -1346,7 +1346,7 @@ public: { LIMITED_METHOD_CONTRACT; - PCODE address = (PCODE)addr; + PCODE address = PINSTRToPCODE((TADDR)addr); return (((address >= m_addrOfHotCode) && (address < m_addrOfHotCode + m_sizeOfHotCode)) || ((address >= m_addrOfColdCode) && -- 2.7.4