[Lldb-commits] [PATCH] D49632: [WIP] Re-implement MI HandleProcessEventStateSuspended.

Greg Clayton via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Jul 21 15:11:55 PDT 2018


clayborg added a comment.

So with CMICmnLLDBDebuggerHandleEvents::HandleProcessEventStateSuspended() it will report a bunch of text back through the MI interface with this each time? Why would it do that? I would assume that the MI interface would handle this programmatically?



================
Comment at: tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp:963
+    sbProcess.GetDescription(streamOut);
+    for (uint32_t i = 0, e = sbProcess.GetNumThreads(); i < e; ++i) {
+      const lldb::SBThread thread = sbProcess.GetThreadAtIndex(i);
----------------
apolyakov wrote:
> Am I right that here should be a synchronization block?
As long as the process remains stopped you are ok.


https://reviews.llvm.org/D49632





More information about the lldb-commits mailing list