diff options
| author | Jim Ingham <jingham@apple.com> | 2014-03-13 02:47:14 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2014-03-13 02:47:14 +0000 |
| commit | 4b4b2478fc4a08d035a7653ae7acaa1853553b34 (patch) | |
| tree | b8515657d5f9554f47877b15f8f9c06c05e5b2df /lldb/source/Target/ThreadPlanStepInstruction.cpp | |
| parent | 3e89dfee00f647b9aff301d2fd1076b008666481 (diff) | |
This commit reworks how the thread plan's ShouldStopHere mechanism works, so that it is useful not only
for customizing "step-in" behavior (e.g. step-in doesn't step into code with no debug info), but also
the behavior of step-in/step-out and step-over when they step out of the frame they started in.
I also added as a proof of concept of this reworking a mode for stepping where stepping out of a frame
into a frame with no debug information will continue stepping out till it arrives at a frame that does
have debug information. This is useful when you are debugging callback based code where the callbacks
are separated from the code that initiated them by some library glue you don't care about, among other
things.
llvm-svn: 203747
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepInstruction.cpp')
| -rw-r--r-- | lldb/source/Target/ThreadPlanStepInstruction.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lldb/source/Target/ThreadPlanStepInstruction.cpp b/lldb/source/Target/ThreadPlanStepInstruction.cpp index f644ee88f701..8365d709ca8f 100644 --- a/lldb/source/Target/ThreadPlanStepInstruction.cpp +++ b/lldb/source/Target/ThreadPlanStepInstruction.cpp @@ -147,13 +147,13 @@ ThreadPlanStepInstruction::ShouldStop (Event *event_ptr) // StepInstruction should probably have the tri-state RunMode, but for now it is safer to // run others. const bool stop_others = false; - m_thread.QueueThreadPlanForStepOut(false, - NULL, - true, - stop_others, - eVoteNo, - eVoteNoOpinion, - 0); + m_thread.QueueThreadPlanForStepOutNoShouldStop(false, + NULL, + true, + stop_others, + eVoteNo, + eVoteNoOpinion, + 0); return false; } else |
