[Lldb-commits] [PATCH] D64647: [lldb] [Process/NetBSD] Implement per-thread execution control

Kamil Rytarowski via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Jul 13 02:35:59 PDT 2019


krytarowski added inline comments.


================
Comment at: lldb/source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp:394
+    siginfo.psi_siginfo.si_signo = signal;
+    siginfo.psi_siginfo.si_code = SI_NOINFO;
+    if (signaled_threads == m_threads.size()) // signal aimed at all threads
----------------
For extra completeness, all basic signals (without specified siginfo) from debugger (that weren't intercepted by a debugger as they were routed into debuggee) that are emitted should be of type `SI_USER` with filled `si_pid` and `si_uid` of the debugger.

We thought have the power to set it to whatever value we want, but LLDB probably doesn't allow to set defailed siginfo.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D64647/new/

https://reviews.llvm.org/D64647





More information about the lldb-commits mailing list