[Lldb-commits] [PATCH] D85265: Add a setting to always run all threads when stepping
Jim Ingham via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 4 18:16:02 PDT 2020
jingham created this revision.
jingham added a reviewer: friss.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
jingham requested review of this revision.
Herald added a subscriber: JDevlieghere.
There are some platforms (the xnu kernel being one) where trying to run just one thread can cause problems, and you need to always run all threads whenever you do more than a single step-i.
This patch adds a target.process.run-all-threads setting which overrides the default "run-mode" value for all the stepping commands.
I also needed to come up with a way to test this. The easiest way to do that was to use a scripted thread plan so that I could check the incoming value. But to do that I needed to plumb the stop others through the scripted-step & the ThreadPlanPython, which this patch also does.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 12394 bytes
Desc: not available
More information about the lldb-commits