From 1f380f124f9da55185dad8a58d8f000f8a55675a Mon Sep 17 00:00:00 2001 From: Konstantin Baladurin Date: Thu, 28 Sep 2017 19:26:39 +0300 Subject: [PATCH] [x86/Linux] Fix typo in SetDebuggerREGDISPLAYFromREGDISPLAY (dotnet/coreclr#14221) Fix typo in SetDebuggerREGDISPLAYFromREGDISPLAY: Esi -> Eax. Commit migrated from https://github.com/dotnet/coreclr/commit/0a17ae10d45db4731071e9a450178933b6d9d1f5 --- src/coreclr/src/debug/shared/i386/primitives.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/debug/shared/i386/primitives.cpp b/src/coreclr/src/debug/shared/i386/primitives.cpp index ab22a5d..6152aa2 100644 --- a/src/coreclr/src/debug/shared/i386/primitives.cpp +++ b/src/coreclr/src/debug/shared/i386/primitives.cpp @@ -93,7 +93,7 @@ void SetDebuggerREGDISPLAYFromREGDISPLAY(DebuggerREGDISPLAY* pDRD, REGDISPLAY* p pDRD->Ebx = (pRD->GetEbxLocation() == NULL ? 0 : *pRD->GetEbxLocation()); pDRD->Edx = (pRD->GetEdxLocation() == NULL ? 0 : *pRD->GetEdxLocation()); pDRD->Ecx = (pRD->GetEcxLocation() == NULL ? 0 : *pRD->GetEcxLocation()); - pDRD->Eax = (pRD->GetEsiLocation() == NULL ? 0 : *pRD->GetEaxLocation()); + pDRD->Eax = (pRD->GetEaxLocation() == NULL ? 0 : *pRD->GetEaxLocation()); #if defined(USE_REMOTE_REGISTER_ADDRESS) pDRD->pFP = PushedRegAddr(pRD, FPAddress); -- 2.7.4