[x86/Linux] Fix typo in SetDebuggerREGDISPLAYFromREGDISPLAY (dotnet/coreclr#14221)
authorKonstantin Baladurin <k.baladurin@partner.samsung.com>
Thu, 28 Sep 2017 16:26:39 +0000 (19:26 +0300)
committerJan Kotas <jkotas@microsoft.com>
Thu, 28 Sep 2017 16:26:39 +0000 (09:26 -0700)
Fix typo in SetDebuggerREGDISPLAYFromREGDISPLAY: Esi -> Eax.

Commit migrated from https://github.com/dotnet/coreclr/commit/0a17ae10d45db4731071e9a450178933b6d9d1f5

src/coreclr/src/debug/shared/i386/primitives.cpp

index ab22a5d..6152aa2 100644 (file)
@@ -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);