From: Juan Hoyos Date: Fri, 25 Mar 2022 19:11:58 +0000 (-0700) Subject: Add ThreadState to the set of allowed APIs in lldb (#2951) X-Git-Tag: accepted/tizen/unified/20221103.165810~28^2^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6afbc64f1ef64bd647758c4624abac9035e45bb;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git Add ThreadState to the set of allowed APIs in lldb (#2951) --- diff --git a/src/SOS/lldbplugin/soscommand.cpp b/src/SOS/lldbplugin/soscommand.cpp index f597eae12..7c278ad2e 100644 --- a/src/SOS/lldbplugin/soscommand.cpp +++ b/src/SOS/lldbplugin/soscommand.cpp @@ -198,6 +198,7 @@ sosCommandInitialize(lldb::SBDebugger debugger) g_services->AddCommand("runtimes", new sosCommand("runtimes"), "List the runtimes in the target or change the default runtime."); g_services->AddCommand("sosflush", new sosCommand("SOSFlush"), "Flushes the DAC caches."); g_services->AddCommand("threadpool", new sosCommand("ThreadPool"), "Displays info about the runtime thread pool."); + g_services->AddCommand("threadstate", new sosCommand("ThreadState"), "Pretty prints the meaning of a threads state."); g_services->AddCommand("verifyheap", new sosCommand("VerifyHeap"), "Checks the GC heap for signs of corruption."); return true; }