diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-03-21 09:06:54 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-03-24 07:28:13 -0700 |
commit | e416f57c553a9b9e11a3a22b2ac9b68cef1cd4ce (patch) | |
tree | a82e688a3d296fbd64a4e6ac929f4ae549f393f6 /src/debug/di | |
parent | 41dad10286dd73ffce954d80ff2acbb82785bf48 (diff) | |
download | coreclr-e416f57c553a9b9e11a3a22b2ac9b68cef1cd4ce.tar.gz coreclr-e416f57c553a9b9e11a3a22b2ac9b68cef1cd4ce.tar.bz2 coreclr-e416f57c553a9b9e11a3a22b2ac9b68cef1cd4ce.zip |
Delete legacy netcf compat support (final part)
Diffstat (limited to 'src/debug/di')
-rw-r--r-- | src/debug/di/process.cpp | 47 | ||||
-rw-r--r-- | src/debug/di/rspriv.h | 17 |
2 files changed, 1 insertions, 63 deletions
diff --git a/src/debug/di/process.cpp b/src/debug/di/process.cpp index a2bf15d849..572eef6a75 100644 --- a/src/debug/di/process.cpp +++ b/src/debug/di/process.cpp @@ -2142,12 +2142,6 @@ HRESULT CordbProcess::QueryInterface(REFIID id, void **pInterface) { *pInterface = static_cast<ICorDebugProcess8*>(this); } -#ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL - else if (id == IID_ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly) - { - *pInterface = static_cast<ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly*>(this); - } -#endif else if (id == IID_IUnknown) { *pInterface = static_cast<IUnknown*>(static_cast<ICorDebugProcess*>(this)); @@ -2501,47 +2495,6 @@ COM_METHOD CordbProcess::EnableExceptionCallbacksOutsideOfMyCode(BOOL enableExce return hr; } -#ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL - -COM_METHOD CordbProcess::InvokePauseCallback() -{ - HRESULT hr = S_OK; - PUBLIC_API_ENTRY(this); - ATT_REQUIRE_STOPPED_MAY_FAIL(this); - - EX_TRY - { - DebuggerIPCEvent * pIPCEvent = (DebuggerIPCEvent *) _alloca(CorDBIPC_BUFFER_SIZE); - InitIPCEvent(pIPCEvent, DB_IPCE_NETCF_HOST_CONTROL_PAUSE, true, VMPTR_AppDomain::NullPtr()); - - hr = m_cordb->SendIPCEvent(this, pIPCEvent, CorDBIPC_BUFFER_SIZE); - hr = WORST_HR(hr, pIPCEvent->hr); - } - EX_CATCH_HRESULT(hr); - - return hr; -} - -COM_METHOD CordbProcess::InvokeResumeCallback() -{ - HRESULT hr = S_OK; - PUBLIC_API_ENTRY(this); - ATT_REQUIRE_STOPPED_MAY_FAIL(this); - - EX_TRY - { - DebuggerIPCEvent * pIPCEvent = (DebuggerIPCEvent *) _alloca(CorDBIPC_BUFFER_SIZE); - InitIPCEvent(pIPCEvent, DB_IPCE_NETCF_HOST_CONTROL_RESUME, true, VMPTR_AppDomain::NullPtr()); - - hr = m_cordb->SendIPCEvent(this, pIPCEvent, CorDBIPC_BUFFER_SIZE); - hr = WORST_HR(hr, pIPCEvent->hr); - } - EX_CATCH_HRESULT(hr); - return hr; -} - -#endif - HRESULT CordbProcess::GetTypeForObject(CORDB_ADDRESS addr, CordbType **ppType, CordbAppDomain **pAppDomain) { VMPTR_AppDomain appDomain; diff --git a/src/debug/di/rspriv.h b/src/debug/di/rspriv.h index 3d17f20576..2bee31471f 100644 --- a/src/debug/di/rspriv.h +++ b/src/debug/di/rspriv.h @@ -2924,9 +2924,6 @@ class CordbProcess : public IDacDbiInterface::IAllocator, public IDacDbiInterface::IMetaDataLookup, public IProcessShimHooks -#ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL - , public ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly -#endif { // Ctor is private. Use OpenVirtualProcess instead. CordbProcess(ULONG64 clrInstanceId, IUnknown * pDataTarget, HMODULE hDacModule, Cordb * pCordb, DWORD dwProcessID, ShimProcess * pShim); @@ -3132,16 +3129,6 @@ public: //----------------------------------------------------------- COM_METHOD EnableExceptionCallbacksOutsideOfMyCode(BOOL enableExceptionsOutsideOfJMC); -#ifdef FEATURE_LEGACYNETCF_DBG_HOST_CONTROL - // --------------------------------------------------------------- - // ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly - // --------------------------------------------------------------- - - COM_METHOD InvokePauseCallback(); - COM_METHOD InvokeResumeCallback(); - -#endif - //----------------------------------------------------------- // Methods not exposed via a COM interface. //----------------------------------------------------------- @@ -3427,9 +3414,7 @@ public: type == DB_IPCE_INTERCEPT_EXCEPTION || type == DB_IPCE_GET_NGEN_COMPILER_FLAGS || type == DB_IPCE_SET_NGEN_COMPILER_FLAGS || - type == DB_IPCE_SET_VALUE_CLASS || - type == DB_IPCE_NETCF_HOST_CONTROL_PAUSE || - type == DB_IPCE_NETCF_HOST_CONTROL_RESUME); + type == DB_IPCE_SET_VALUE_CLASS); ipce->type = type; ipce->hr = S_OK; |