projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4a4220
)
Fixing linux build
author
Andrew Au
<andrewau@microsoft.com>
Wed, 27 Jun 2018 20:23:17 +0000
(13:23 -0700)
committer
Andrew Au
<cshung@gmail.com>
Wed, 7 Nov 2018 02:34:47 +0000
(18:34 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
20b1e6c0ec19c90f67fb08e1f655e58871302a2d
src/coreclr/src/debug/di/process.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/debug/di/process.cpp
b/src/coreclr/src/debug/di/process.cpp
index
718fff2
..
bcbaecb
100644
(file)
--- a/
src/coreclr/src/debug/di/process.cpp
+++ b/
src/coreclr/src/debug/di/process.cpp
@@
-6475,6
+6475,7
@@
HRESULT CordbProcess::GetThreadContext(DWORD threadID, ULONG32 contextSize, BYTE
if (this->IsInteropDebugging())
{
+#ifdef FEATURE_INTEROP_DEBUGGING
RSLockHolder lockHolder(GetProcessLock());
// Find the unmanaged thread
@@
-6488,6
+6489,9
@@
HRESULT CordbProcess::GetThreadContext(DWORD threadID, ULONG32 contextSize, BYTE
}
return ut->GetThreadContext((DT_CONTEXT*)context);
+#else
+ return E_NOTIMPL;
+#endif
}
else
{
@@
-6551,6
+6555,7
@@
HRESULT CordbProcess::SetThreadContext(DWORD threadID, ULONG32 contextSize, BYTE
if (this->IsInteropDebugging())
{
+#ifdef FEATURE_INTEROP_DEBUGGING
RSLockHolder lockHolder(GetProcessLock());
CordbUnmanagedThread *ut = NULL;
@@
-6587,6
+6592,9
@@
HRESULT CordbProcess::SetThreadContext(DWORD threadID, ULONG32 contextSize, BYTE
}
EX_CATCH_HRESULT(hr);
}
+#else
+ return E_NOTIMPL;
+#endif
}
else
{