File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12676,11 +12676,7 @@ Reaction CordbProcess::TriageExcep1stChanceAndInit(CordbUnmanagedThread * pUnman
1267612676
1267712677 DT_CONTEXT context;
1267812678
12679- #ifdef TARGET_X86
12680- tempContext.ContextFlags = DT_CONTEXT_FULL | DT_CONTEXT_EXTENDED_REGISTERS;
12681- #else
12682- tempContext.ContextFlags = DT_CONTEXT_FULL;
12683- #endif
12679+ context.ContextFlags = DT_CONTEXT_FULL;
1268412680
1268512681 BOOL fSuccess = DbiGetThreadContext(pUnmanagedThread->m_handle, &context);
1268612682
@@ -13381,7 +13377,11 @@ void CordbProcess::HandleDebugEventForInteropDebugging(const DEBUG_EVENT * pEven
1338113377 {
1338213378 LOG((LF_CORDB, LL_INFO100000, "W32ET::W32EL: hijack complete will restore context...\n"));
1338313379 DT_CONTEXT tempContext = { 0 };
13380+ #ifdef TARGET_X86
13381+ tempContext.ContextFlags = DT_CONTEXT_FULL | DT_CONTEXT_EXTENDED_REGISTERS;
13382+ #else
1338413383 tempContext.ContextFlags = DT_CONTEXT_FULL;
13384+ #endif
1338513385 HRESULT hr = pUnmanagedThread->GetThreadContext(&tempContext);
1338613386 _ASSERTE(SUCCEEDED(hr));
1338713387
You can’t perform that action at this time.
0 commit comments