summaryrefslogtreecommitdiff
path: root/src/debug/di
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2015-03-23 17:56:09 -0700
committerMike McLaughlin <mikem@microsoft.com>2015-03-27 11:27:56 -0700
commitc421fbe84c1e2fba19446d295a61761509a1c834 (patch)
tree3b0ed9c3bf81073cbd7b3c18246262dc905d202b /src/debug/di
parent8f499aba089a733951bba9db10356270fd6a7551 (diff)
downloadcoreclr-c421fbe84c1e2fba19446d295a61761509a1c834.tar.gz
coreclr-c421fbe84c1e2fba19446d295a61761509a1c834.tar.bz2
coreclr-c421fbe84c1e2fba19446d295a61761509a1c834.zip
Enabling the ClrStack command ICorDebug option (-i) to use to test DBI.
Fix sos on windows. Changed the name of the debug info resource to just "CLRDEBUGINFO". This is what debugshim is looking for when searching for the coreclr module.
Diffstat (limited to 'src/debug/di')
-rw-r--r--src/debug/di/CMakeLists.txt3
-rw-r--r--src/debug/di/process.cpp4
2 files changed, 1 insertions, 6 deletions
diff --git a/src/debug/di/CMakeLists.txt b/src/debug/di/CMakeLists.txt
index 7f8a303265..1e74e06cd3 100644
--- a/src/debug/di/CMakeLists.txt
+++ b/src/debug/di/CMakeLists.txt
@@ -1,9 +1,6 @@
add_definitions(-DDBG_TARGET_AMD64=1 -DDBG_TARGET_WIN64=1 -DDBG_TARGET_64BIT=1)
add_definitions(-DFEATURE_METADATA_CUSTOM_DATA_SOURCE -DFEATURE_METADATA_DEBUGGEE_DATA_SOURCE -DFEATURE_NO_HOST -DFEATURE_METADATA_LOAD_TRUSTED_IMAGES)
-if(WIN32)
-endif(WIN32)
-
set(CORDBDI_SOURCES
shimprocess.cpp
shimcallback.cpp
diff --git a/src/debug/di/process.cpp b/src/debug/di/process.cpp
index 2653f5627f..32da7dc2e6 100644
--- a/src/debug/di/process.cpp
+++ b/src/debug/di/process.cpp
@@ -682,9 +682,7 @@ CordbProcess::CreateDacDbiInterface()
IDacDbiInterface **);
IDacDbiInterface* pInterfacePtr = NULL;
- PFN_DacDbiInterfaceInstance pfnEntry = (PFN_DacDbiInterfaceInstance)
- GetProcAddress(m_hDacModule, "DacDbiInterfaceInstance");
-
+ PFN_DacDbiInterfaceInstance pfnEntry = (PFN_DacDbiInterfaceInstance)GetProcAddress(m_hDacModule, "DacDbiInterfaceInstance");
if (!pfnEntry)
{
ThrowLastError();