From 556224275d2f7701b3ea25e35f6873afd5c462ca Mon Sep 17 00:00:00 2001 From: Mike McLaughlin Date: Fri, 19 Jun 2015 17:37:48 -0700 Subject: 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. --- src/ToolBox/SOS/Strike/strike.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ToolBox') 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; } }; -- cgit v1.2.3