From 80065f18c7e1da28b9b26966af5b79a85f0f119f Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Mon, 27 Aug 2018 17:40:13 -0700 Subject: [PATCH] Linux fix Commit migrated from https://github.com/dotnet/coreclr/commit/5e324dad533a8cfe774d39c2bed2ebdc616547ac --- src/coreclr/src/debug/shared/dbgtransportsession.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/coreclr/src/debug/shared/dbgtransportsession.cpp b/src/coreclr/src/debug/shared/dbgtransportsession.cpp index 95fdf25..81ef767 100644 --- a/src/coreclr/src/debug/shared/dbgtransportsession.cpp +++ b/src/coreclr/src/debug/shared/dbgtransportsession.cpp @@ -2202,6 +2202,7 @@ DWORD DbgTransportSession::GetEventSize(DebuggerIPCEvent *pEvent) case DB_IPCE_GET_NGEN_COMPILER_FLAGS: case DB_IPCE_DETACH_FROM_PROCESS: case DB_IPCE_CONTROL_C_EVENT_RESULT: + case DB_IPCE_DATA_BREAKPOINT: cbAdditionalSize = 0; break; @@ -2493,6 +2494,14 @@ DWORD DbgTransportSession::GetEventSize(DebuggerIPCEvent *pEvent) cbAdditionalSize = sizeof(pEvent->CustomNotification); break; + case DB_IPCE_GET_CONTAINER: + cbAdditionalSize = sizeof(pEvent->GetContainer); + break; + + case DB_IPCE_GET_CONTAINER_RESULT: + cbAdditionalSize = sizeof(pEvent->GetContainerResult); + break; + default: printf("Unknown debugger event type: 0x%x\n", (pEvent->type & DB_IPCE_TYPE_MASK)); _ASSERTE(!"Unknown debugger event type"); -- 2.7.4