summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-09-14 20:48:14 +0000
committerJim Ingham <jingham@apple.com>2012-09-14 20:48:14 +0000
commitf76ab67c554007f1e63a6ffb349ef185ff41a7d4 (patch)
treebb275aec7d5e76fab4924e051053223d75d23050
parent46846fcdc8b852e757d3a21bc8111fc5cac75c8e (diff)
downloadbcm5719-llvm-f76ab67c554007f1e63a6ffb349ef185ff41a7d4.tar.gz
bcm5719-llvm-f76ab67c554007f1e63a6ffb349ef185ff41a7d4.zip
Use the frame index passed into "thread until" rather than using the selected frame.
llvm-svn: 163936
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index f7f070e0e5c..ee4650179dd 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -1054,7 +1054,7 @@ protected:
&address_list.front(),
address_list.size(),
m_options.m_stop_others,
- thread->GetSelectedFrameIndex ());
+ m_options.m_frame_idx);
// User level plans should be master plans so they can be interrupted (e.g. by hitting a breakpoint)
// and other plans executed by the user (stepping around the breakpoint) and then a "continue"
// will resume the original plan.
OpenPOWER on IntegriCloud