diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2015-06-19 17:37:48 -0700 |
---|---|---|
committer | Mike McLaughlin <mikem@microsoft.com> | 2015-06-24 11:50:04 -0700 |
commit | 556224275d2f7701b3ea25e35f6873afd5c462ca (patch) | |
tree | 61cb66f9bc79c62b5edd1f81d3fc90b7eb633d8f /src/ToolBox | |
parent | 8c70800b5e8dc5535c379dec4a6fb32f7ab5e878 (diff) | |
download | coreclr-556224275d2f7701b3ea25e35f6873afd5c462ca.tar.gz coreclr-556224275d2f7701b3ea25e35f6873afd5c462ca.tar.bz2 coreclr-556224275d2f7701b3ea25e35f6873afd5c462ca.zip |
Fixed the PAL_Initialize* order problem.
Now it doesn't matter if PAL_InitializeDLL (which doesn't pass argc/argv) is called before PAL_InitializeCoreCLR or vice-versa. The exe path and command line are updated for every PAL_Initialize or PAL_InitializeCoreCLR call.
Cleaned up the pal_module initialization to get and set the module name removing the need for PAL_InitializeCoreCLR to pass the coreclr path. This required changing the process attach DllInit to be done more on demand.
The signature for PAL_InitializeCoreCLR has changed to (two parameters removed):
PALIMPORT
DWORD
PALAPI
PAL_InitializeCoreCLR(
const char *szExePath);
Fixed a problem in the ClrStack -i command where the SP/PC displayed wasn't correctly.
Diffstat (limited to 'src/ToolBox')
-rw-r--r-- | src/ToolBox/SOS/Strike/strike.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ToolBox/SOS/Strike/strike.cpp b/src/ToolBox/SOS/Strike/strike.cpp index d9b96bfe7f..f87fa925a5 100644 --- a/src/ToolBox/SOS/Strike/strike.cpp +++ b/src/ToolBox/SOS/Strike/strike.cpp @@ -11545,6 +11545,10 @@ public: } ExtOut("=============================================================================\n"); +#ifdef FEATURE_PAL + // Temporary until we get a process exit notification plumbed from lldb + UninitCorDebugInterface(); +#endif return S_OK; } }; |