From: Andrew Au Date: Tue, 28 Aug 2018 00:40:13 +0000 (-0700) Subject: Linux fix X-Git-Tag: submit/tizen/20210909.063632~11030^2~3453 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80065f18c7e1da28b9b26966af5b79a85f0f119f;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Linux fix Commit migrated from https://github.com/dotnet/coreclr/commit/5e324dad533a8cfe774d39c2bed2ebdc616547ac --- 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");