summaryrefslogtreecommitdiff
path: root/src/debug/shim
AgeCommit message (Collapse)AuthorFilesLines
2018-04-07Fix OpenVirtualProcess SIGSEGV on Linux. (#17444)Mike McLaughlin1-43/+100
Add DBI OpenVirtualProcessImpl2 that takes a module path instead of handle. Fix assert on Windows debug. Issue #17446
2018-03-19Add new ICLRDebuggingLibraryProvider2 interface for OpenVirtualProces that ↵Mike McLaughlin1-80/+134
works on Linux (#16978) Add new ICLRDebuggingLibraryProvider2 interface for OpenVirtualProcess that works on Linux. The old ICLRDebuggingLibraryProvider::ProviderLibrary returns module handles that can't be properly supported on Linux. ICLRDebuggerLibraryProvider2 returns the module path string instead of a handle. Works on both Windows and Linux. If ICLRDebuggerLibraryProvider2 is QI'ed, OpenVirtualProcess will NOT fall back to ICLRDebuggerLibraryProvider if ProviderLibrary2 fails. HRESULT ProvideLibrary2( [in] const WCHAR* pwszFileName, [in] DWORD dwTimestamp, [in] DWORD dwSizeOfImage, [out] LPWSTR* ppResolvedModulePath); ppResolvedModulePath - Where *ppResolvedModulePath is a null terminated path to the module dll. On Windows it should be allocated with CoTaskMemAlloc. On Unix it should be allocated with malloc. Failure leave it untouched.
2018-02-17delete unused mirror files (#16423)Sergey Andreenko1-1/+0
2017-10-05[x86/Linux][SOS] Fix clrstack command of lldb sosplugin on x86 (#13973)Konstantin Baladurin1-2/+2
* [x86/Linux][SOS] Add support for x86 in GetContextFromFrame It's need for 'clrstack -f' command of SOS plugin on x86. * [x86/Linux] Fix RtlpGetFunctionEndAddress function We should use PTR_UNWIND_INFO instead of PUNWIND_INFO for pointer to UNWIND_INFO structure because it's pointer from other process and we need to use DAC to read data using it. * [x86/Linux][SOS] Define DEBUG_STACK_CONTEXT for x86 It's needed for 'clrstack -f' command in libsosplugin. * [x86/Linux] Fix undefined references in libmscordbi.so on x86 Asm block like following: __asm fnsave currentFPUState where currentFPUState is structure works with MSVC but leads to undefined reference currentFPUState in the binary with other compilers. So rewrite such asm blocks for them. This patch fixes error "Unable to load 'libmscordbi.so'" during execution of 'clrstack -f' command of SOS plugin on x86. * [x86/Linux] Fix calling convention inconsistency WINAPI and STDAPI are defined as __cdecl but in some cases functions with these attributes are called using stdcall calling convention. It leads to crashes during execution of 'clrstack -i' command of SOS plugin on x86.
2016-12-26Remove files related to legacy build system (#8723)Robert2-35/+0
2016-01-27Update license headersdotnet-bot2-8/+6
2016-01-21FIx the incremental build for WindowsJan Vorlicek1-1/+1
Conflicts: build.cmd src/dlls/clretwrc/CMakeLists.txt Cleanup
2015-09-25Fix for 134453: fix prefast warningsRahul Kumar1-2/+2
[tfs-changeset: 1529946]
2015-09-08Replace MAX_PATH with new defines, rest of coreclr.Lakshmi Priya Sekar1-4/+4
2015-06-26Fix arm/arm64 builds of dbgshimEugene Zemtsov1-0/+16
[tfs-changeset: 1494755]
2015-06-26Make 64bit dump debugging possible on CoreCLREugene Zemtsov1-8/+15
[tfs-changeset: 1494731]
2015-05-26Fix the virtual destructor warningJan Vorlicek1-0/+2
This change changes destructors to be virtual or adds virtual ones where they were missing based on the clang warnings.
2015-03-27Enabling the ClrStack command ICorDebug option (-i) to use to test DBI.Mike McLaughlin3-11/+30
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.
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot6-0/+756
[tfs-changeset: 1407945]