[Lldb-commits] [PATCH] D42868: Fix a crash in *NetBSD::Factory::Launch

Kamil Rytarowski via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 2 14:55:34 PST 2018


krytarowski updated this revision to Diff 132689.

Repository:
  rL LLVM

https://reviews.llvm.org/D42868

Files:
  source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp


Index: source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
===================================================================
--- source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
+++ source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
@@ -113,7 +113,7 @@
 
   for (const auto &thread : process_up->m_threads)
     static_cast<NativeThreadNetBSD &>(*thread).SetStoppedBySignal(SIGSTOP);
-  process_up->SetState(StateType::eStateStopped);
+  process_up->SetState(StateType::eStateStopped, false);
 
   return std::move(process_up);
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42868.132689.patch
Type: text/x-patch
Size: 543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180202/9d3a83f1/attachment-0001.bin>


More information about the lldb-commits mailing list