[Lldb-commits] [PATCH] D48865: [LLDB] CommandObjectThreadUntil::DoExecute() sets the wrong selected thread ID
Venkata Ramanaiah via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 3 00:07:57 PDT 2018
ramana-nvr created this revision.
ramana-nvr added a reviewer: labath.
For the 'thread until' command, the selected thread ID, to perform the operation on, could be of the current thread or the specified thread.
https://reviews.llvm.org/D48865
Files:
source/Commands/CommandObjectThread.cpp
Index: source/Commands/CommandObjectThread.cpp
===================================================================
--- source/Commands/CommandObjectThread.cpp
+++ source/Commands/CommandObjectThread.cpp
@@ -1285,7 +1285,7 @@
return false;
}
- process->GetThreadList().SetSelectedThreadByID(m_options.m_thread_idx);
+ process->GetThreadList().SetSelectedThreadByID(thread->GetID());
StreamString stream;
Status error;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48865.153860.patch
Type: text/x-patch
Size: 461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180703/bc2810cf/attachment-0001.bin>
More information about the lldb-commits
mailing list