[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:35:25 PST 2018


krytarowski added inline comments.


================
Comment at: source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp:116
     static_cast<NativeThreadNetBSD &>(*thread).SetStoppedBySignal(SIGSTOP);
-  process_up->SetState(StateType::eStateStopped);
 
----------------
Another option is to call:

```
process_up->SetState(StateType::eStateStopped, false);
```

Both work.


Repository:
  rL LLVM

https://reviews.llvm.org/D42868





More information about the lldb-commits mailing list