summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/ThreadPlanStepInRange.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/ThreadPlanStepInRange.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/ThreadPlanStepInRange.cpp')
-rw-r--r--lldb/source/Target/ThreadPlanStepInRange.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/lldb/source/Target/ThreadPlanStepInRange.cpp b/lldb/source/Target/ThreadPlanStepInRange.cpp
index 9ee8b5621cb..2930d3d68a3 100644
--- a/lldb/source/Target/ThreadPlanStepInRange.cpp
+++ b/lldb/source/Target/ThreadPlanStepInRange.cpp
@@ -270,9 +270,13 @@ ThreadPlanStepInRange::DefaultShouldStopHereCallback (ThreadPlan *current_plan,
if (should_step_out)
{
// FIXME: Make sure the ThreadPlanForStepOut does the right thing with inlined functions.
- return current_plan->GetThread().QueueThreadPlanForStepOut (false, NULL, true,
+ return current_plan->GetThread().QueueThreadPlanForStepOut (false,
+ NULL,
+ true,
current_plan->StopOthers(),
- eVoteNo, eVoteNoOpinion);
+ eVoteNo,
+ eVoteNoOpinion,
+ 0); // Frame index
}
return NULL;
OpenPOWER on IntegriCloud