summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2023-03-20 15:12:38 -0700
committerJim Ingham <jingham@apple.com>2023-03-20 15:17:15 -0700
commit8d024a79ea783ed3fbb5691aeaf186ad3f0a4ae9 (patch)
treede53dc7c717c7244682fe22672ad4bc718078c84 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp
parentb333f3393934937e1d857873934325ae0a9af30e (diff)
Fix a problem with "watchpoint triggers before" watchpoint handling.
We need to step the watchpoint instruction in these cases, but the when we queued the ThreadPlanStepOverWatchpoint to do this, we didn't make it a Controlling plan. So if you are stepping, this plan returns as though it were a utility plan, and the stepping plan keeps going. This only partially fixes the problem on Darwin; there's another bug with reporting a watchpoint when we're instruction single stepping over an instruction that triggers a watchpoint. The kernel reports the "single step completed" but not the watchpoint hit. So this commit also refactors the test into a part that works (at least on Darwin) and a part that still fails. We may have to adjust the test result expectations for other systems after this fix. Differential Revision: https://reviews.llvm.org/D146337
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions