forked from OSchip/llvm-project
a435d73349
We've seen some cases on macOS where you go to instruction single step (over a breakpoint), and single step returns but the instruction hasn't been executed (and the pc hasn't moved.) The ThreadPlanStepOverBreakpoint used to handle this case by accident, but the patches to handle two adjacent breakpoints broke that accident. This patch fixes the logic of ExplainsStop to explicitly handle the case where the pc didn't move. It also adds a WillPop that re-enables the breakpoint we were stepping over. We never want an unexpected path through the plan to fool us into not doing that. I have no idea how to make this bug happen. It is very inconsistent when it occurs IRL. We really need a full MockProcess Plugin before we can start to write tests for this sort of system hiccup. <rdar://problem/38505726> llvm-svn: 332922 |
||
---|---|---|
.. | ||
LLDB.xcscheme | ||
Run Testsuite.xcscheme | ||
darwin-debug.xcscheme | ||
desktop.xcscheme | ||
launcherRootXPCService.xcscheme | ||
launcherXPCService.xcscheme | ||
lldb-gtest.xcscheme | ||
lldb-python-test-suite.xcscheme | ||
lldb-tool.xcscheme |