head 1.2; access; symbols pkgsrc-2021Q2:1.1.0.42 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.40 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.38 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.36 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.32 pkgsrc-2020Q2-base:1.1 pkgsrc-2020Q1:1.1.0.12 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.34 pkgsrc-2019Q4-base:1.1 pkgsrc-2019Q3:1.1.0.30 pkgsrc-2019Q3-base:1.1 pkgsrc-2019Q2:1.1.0.28 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.26 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.24 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.22 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.20 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.18 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.16 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.14 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.10 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.8 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.6 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.4 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.2 pkgsrc-2016Q2-base:1.1; locks; strict; comment @// @; 1.2 date 2021.08.05.08.01.18; author adam; state dead; branches; next 1.1; commitid M8HQkBO0cgiUWK3D; 1.1 date 2016.06.30.12.16.24; author kamil; state Exp; branches; next ; commitid DUzYYNiI3yoxcucz; desc @@ 1.2 log @coreclr: removed; approved by @@kamil @ text @$NetBSD: patch-src_debug_ee_debugger.cpp,v 1.1 2016/06/30 12:16:24 kamil Exp $ Revert: commit 5ac6af932fe2a3f4b285b6dcc79010caf807ea9d Author: Mike McLaughlin Date: Fri May 27 20:03:32 2016 -0700 Fix the named semaphore leak on OSX (and Linux) (#5269) It broke NetBSD. --- src/debug/ee/debugger.cpp.orig 2016-06-14 01:12:15.000000000 +0000 +++ src/debug/ee/debugger.cpp @@@@ -2113,9 +2113,18 @@@@ HRESULT Debugger::Startup(void) ShutdownTransport(); ThrowHR(hr); } + #ifdef FEATURE_PAL PAL_SetShutdownCallback(AbortTransport); #endif // FEATURE_PAL + + bool waitForAttach = CLRConfig::GetConfigValue(CLRConfig::UNSUPPORTED_DbgWaitForDebuggerAttach) != 0; + if (waitForAttach) + { + // Mark this process as launched by the debugger and the debugger as attached. + g_CORDebuggerControlFlags |= DBCF_GENERATE_DEBUG_CODE; + MarkDebuggerAttachedInternal(); + } #endif // FEATURE_DBGIPC_TRANSPORT_VM RaiseStartupNotification(); @ 1.1 log @Import CoreCLR 1.0.0 as lang/coreclr This repo contains the .NET Core runtime, called CoreCLR, and the base library, called mscorlib. It includes the garbage collector, JIT compiler, base .NET data types and many low-level classes. @ text @d1 1 a1 1 $NetBSD$ @