summaryrefslogtreecommitdiff
path: root/src/debug/ee
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug/ee')
-rw-r--r--src/debug/ee/dactable.cpp2
-rw-r--r--src/debug/ee/debugger.cpp8
2 files changed, 1 insertions, 9 deletions
diff --git a/src/debug/ee/dactable.cpp b/src/debug/ee/dactable.cpp
index 28ae0eaa42..c7cf64e186 100644
--- a/src/debug/ee/dactable.cpp
+++ b/src/debug/ee/dactable.cpp
@@ -58,7 +58,7 @@ void DacGlobals::Initialize()
#ifdef FEATURE_SVR_GC
g_dacTable.InitializeSVREntries(baseAddress);
#endif
- PAL_PublishDacTableAddress(&g_dacTable, sizeof(g_dacTable));
+ PAL_PublishDacTableAddress((PVOID)baseAddress, &g_dacTable, sizeof(g_dacTable));
}
// Initializes the non-SVR table entries
diff --git a/src/debug/ee/debugger.cpp b/src/debug/ee/debugger.cpp
index 87cccf8653..ce72f276e8 100644
--- a/src/debug/ee/debugger.cpp
+++ b/src/debug/ee/debugger.cpp
@@ -1996,10 +1996,6 @@ HRESULT Debugger::Startup(void)
DebuggerLockHolder dbgLockHolder(this);
-#ifdef FEATURE_PAL
- DacGlobals::Initialize();
-#endif
-
// Stubs in Stacktraces are always enabled.
g_EnableSIS = true;
@@ -2548,10 +2544,6 @@ void Debugger::StopDebugger(void)
}
CONTRACTL_END;
-#ifdef FEATURE_PAL
- PAL_CleanupDacTableAddress();
-#endif
-
// Leak almost everything on process exit. The OS will clean it up anyways and trying to
// clean it up ourselves is just one more place we may AV / deadlock.