From: Konstantin Baladurin Date: Thu, 28 Sep 2017 16:26:39 +0000 (+0300) Subject: [x86/Linux] Fix typo in SetDebuggerREGDISPLAYFromREGDISPLAY (dotnet/coreclr#14221) X-Git-Tag: submit/tizen/20210909.063632~11030^2~6873 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f380f124f9da55185dad8a58d8f000f8a55675a;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [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 --- 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);