From f76ab67c554007f1e63a6ffb349ef185ff41a7d4 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 14 Sep 2012 20:48:14 +0000 Subject: Use the frame index passed into "thread until" rather than using the selected frame. llvm-svn: 163936 --- lldb/source/Commands/CommandObjectThread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands/CommandObjectThread.cpp') 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. -- cgit v1.2.3