summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadPlanStepOverRange.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-01-21 06:11:58 +0000
committerGreg Clayton <gclayton@apple.com>2011-01-21 06:11:58 +0000
commit481cef25dcbcd81a942d037004c573716a796c71 (patch)
treeb9dd6cec5215fff40e47fcda3525314e1f3b9aa5 /lldb/source/Target/ThreadPlanStepOverRange.cpp
parent47ff14b091ee66a4c5f159e7fb8714ca9a66d2f9 (diff)
downloadbcm5719-llvm-481cef25dcbcd81a942d037004c573716a796c71.tar.gz
bcm5719-llvm-481cef25dcbcd81a942d037004c573716a796c71.zip
Added support for stepping out of a frame. If you have 10 stack frames, and you
select frame #3, you can then do a step out and be able to go directly to the frame above frame #3! Added StepOverUntil and StepOutOfFrame to the SBThread API to allow more powerful stepping. llvm-svn: 123970
Diffstat (limited to 'lldb/source/Target/ThreadPlanStepOverRange.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanStepOverRange.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/lldb/source/Target/ThreadPlanStepOverRange.cpp b/lldb/source/Target/ThreadPlanStepOverRange.cpp
index 5b37290ecb3..2d6f0309b91 100644
--- a/lldb/source/Target/ThreadPlanStepOverRange.cpp
+++ b/lldb/source/Target/ThreadPlanStepOverRange.cpp
@@ -104,7 +104,13 @@ ThreadPlanStepOverRange::ShouldStop (Event *event_ptr)
}
else if (FrameIsYounger())
{
- new_plan = m_thread.QueueThreadPlanForStepOut (false, NULL, true, stop_others, lldb::eVoteNo, lldb::eVoteNoOpinion);
+ new_plan = m_thread.QueueThreadPlanForStepOut (false,
+ NULL,
+ true,
+ stop_others,
+ lldb::eVoteNo,
+ lldb::eVoteNoOpinion,
+ 0);
}
else if (!InSymbol())
{
OpenPOWER on IntegriCloud