diff options
author | Eugene Zemtsov <Eugene.Zemtsov@microsoft.com> | 2015-02-16 21:58:15 -0800 |
---|---|---|
committer | Eugene Zemtsov <Eugene.Zemtsov@microsoft.com> | 2015-03-03 14:39:55 -0800 |
commit | 1b6c5406b302c496320d6012dae1342c699c2290 (patch) | |
tree | aaba609c18f194c68c861c6afc516218da3f424d /src/utilcode/staticnohost | |
parent | e9f40ce78c9443819829870d94af0239adc16030 (diff) | |
download | coreclr-1b6c5406b302c496320d6012dae1342c699c2290.tar.gz coreclr-1b6c5406b302c496320d6012dae1342c699c2290.tar.bz2 coreclr-1b6c5406b302c496320d6012dae1342c699c2290.zip |
Pipe based communication between debugee and managed debugger on Linux
Goal of this change is to make managed debugging on Linux possible. (It is not fully achieved, but we're getting there)
So far our provision for debugging on Linux is somewhat different from debugging on Windows.
Instead of using WaitForDebugEvent and RaiseException as means of communication between debugger and debuggee, we're gonna use pipes.
Thankfully from old times of Silverlight Mac debugging we had debugging via network sockets under ifdefs FEATURE_DBGIPC_TRANSPORT_DI and FEATURE_DBGIPC_TRANSPORT_VM.
So this change is taking that old way of debugging, changing sockets for network pipes, removes lots of unused stuff and implements whatever is missing on Linux.
Testing:
Due to infrastructural issues I wasn't able to test debugging on Linux yet. So my testing consistent of
1. End to end net pipe debugging on Windows
2. Testing of twowaypipe implementation on Linux
3. Testing of search for loaded CoreCLR module on Linux.
Diffstat (limited to 'src/utilcode/staticnohost')
-rw-r--r-- | src/utilcode/staticnohost/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/utilcode/staticnohost/CMakeLists.txt b/src/utilcode/staticnohost/CMakeLists.txt index ea662454f7..6b63b39f7b 100644 --- a/src/utilcode/staticnohost/CMakeLists.txt +++ b/src/utilcode/staticnohost/CMakeLists.txt @@ -1,11 +1,11 @@ add_definitions(-DSELF_NO_HOST) +list(APPEND UTILCODE_SOURCES ../hostimpl.cpp) + if(WIN32) add_definitions(-D_CRTIMP=) # use static version of crt - list(APPEND UTILCODE_SOURCES ../hostimpl.cpp) add_precompiled_header(stdafx.h ../stdafx.cpp UTILCODE_SOURCES) - add_library(utilcodestaticnohost STATIC ${UTILCODE_SOURCES}) -elseif(CLR_CMAKE_PLATFORM_UNIX) - add_library(utilcodestaticnohost STATIC ${UTILCODE_SOURCES}) endif(WIN32) + +add_library(utilcodestaticnohost STATIC ${UTILCODE_SOURCES}) |