diff options
author | Jim Ingham <jingham@apple.com> | 2012-04-20 21:16:56 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-04-20 21:16:56 +0000 |
commit | 6d66ce67d75ec2dbc42d028084ab0801c1f4fcd6 (patch) | |
tree | bb24a8c6ac14f96ff77622db1e6cd0015900f2d5 /lldb/source/Target/ThreadPlanStepRange.cpp | |
parent | 1b42280917638c00f5e7012383627966b682ee30 (diff) | |
download | llvm-6d66ce67d75ec2dbc42d028084ab0801c1f4fcd6.zip llvm-6d66ce67d75ec2dbc42d028084ab0801c1f4fcd6.tar.gz llvm-6d66ce67d75ec2dbc42d028084ab0801c1f4fcd6.tar.bz2 |
Make sure the "synchronous breakpoint callbacks" get called before the thread plan logic gets invoked, and if they
ask to continue that should short-circuit the thread plans for that thread. Also add a bit more explanation for
how this machinery is supposed to work.
Also pass eExecutionPolicyOnlyWhenNeeded, not eExecutionPolicyAlways when evaluating the expression for breakpoint
conditions.
llvm-svn: 155236
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepRange.cpp')
-rw-r--r-- | lldb/source/Target/ThreadPlanStepRange.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Target/ThreadPlanStepRange.cpp b/lldb/source/Target/ThreadPlanStepRange.cpp index 59f760c..113e459 100644 --- a/lldb/source/Target/ThreadPlanStepRange.cpp +++ b/lldb/source/Target/ThreadPlanStepRange.cpp @@ -368,6 +368,9 @@ ThreadPlanStepRange::PlanExplainsStop () case eStopReasonBreakpoint: if (NextRangeBreakpointExplainsStop(stop_info_sp)) return true; + else + return false; + break; case eStopReasonWatchpoint: case eStopReasonSignal: case eStopReasonException: |