summaryrefslogtreecommitdiff
path: root/src/debug/di
diff options
context:
space:
mode:
authorEugene Zemtsov <Eugene.Zemtsov@microsoft.com>2015-03-25 15:07:01 -0700
committerEugene Zemtsov <Eugene.Zemtsov@microsoft.com>2015-03-25 16:55:02 -0700
commitd4e7a7205366c6eb371d093e7053ee58191be91b (patch)
treec39a2dbddb0acb3a1e34b8f2129b681b2ece4893 /src/debug/di
parent376834692a706f091ecf2b4efafe6d644102b621 (diff)
downloadcoreclr-d4e7a7205366c6eb371d093e7053ee58191be91b.tar.gz
coreclr-d4e7a7205366c6eb371d093e7053ee58191be91b.tar.bz2
coreclr-d4e7a7205366c6eb371d093e7053ee58191be91b.zip
Fix CORDB_PLATFORM mismatch between DAC and SOS
Diffstat (limited to 'src/debug/di')
-rw-r--r--src/debug/di/shimlocaldatatarget.cpp3
-rw-r--r--src/debug/di/shimremotedatatarget.cpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/debug/di/shimlocaldatatarget.cpp b/src/debug/di/shimlocaldatatarget.cpp
index 45d0b6cebe..9f3ba2ec1d 100644
--- a/src/debug/di/shimlocaldatatarget.cpp
+++ b/src/debug/di/shimlocaldatatarget.cpp
@@ -277,6 +277,9 @@ HRESULT STDMETHODCALLTYPE
ShimLocalDataTarget::GetPlatform(
CorDebugPlatform *pPlatform)
{
+#ifdef FEATURE_PAL
+#error ShimLocalDataTarget is not implemented on PAL systems yet
+#endif
// Assume that we're running on Windows for now.
#if defined(DBG_TARGET_X86)
*pPlatform = CORDB_PLATFORM_WINDOWS_X86;
diff --git a/src/debug/di/shimremotedatatarget.cpp b/src/debug/di/shimremotedatatarget.cpp
index 3498700ac1..278ef68016 100644
--- a/src/debug/di/shimremotedatatarget.cpp
+++ b/src/debug/di/shimremotedatatarget.cpp
@@ -212,9 +212,9 @@ ShimRemoteDataTarget::GetPlatform(
{
#ifdef FEATURE_PAL
#if defined(DBG_TARGET_X86)
- *pPlatform = CORDB_PLATFORM_MAC_X86;
+ *pPlatform = CORDB_PLATFORM_POSIX_X86;
#elif defined(DBG_TARGET_AMD64)
- *pPlatform = CORDB_PLATFORM_MAC_AMD64;
+ *pPlatform = CORDB_PLATFORM_POSIX_AMD64;
#else
#error Unknown Processor.
#endif