[Lldb-commits] [PATCH] D64647: [lldb] [Process/NetBSD] Implement per-thread executation control
Michał Górny via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 12 10:24:09 PDT 2019
mgorny created this revision.
mgorny added reviewers: krytarowski, labath.
Herald added subscribers: teemperor, abidh.
Herald added a project: LLDB.
Implement the full logic providing the ability to run, single-step
or suspend each thread separately. This replaces the old code that
propagated the status of first thread to all of them. It uses newer
APIs PT_RESUME/PT_SUSPEND and PT_SETSTEP/PT_CLEARSTEP.
It also uses the PT_SET_SIGINFO call to allow sending signal to a single
thread, in addition to sending it to entire process. Due to API
limitations, sending signal to 1<x<n threads is not supported, neither
is sending two different signals simultaneously.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7075 bytes
Desc: not available
More information about the lldb-commits