diff options
author | Jim Ingham <jingham@apple.com> | 2012-12-11 02:31:48 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2012-12-11 02:31:48 +0000 |
commit | c3faa19577355978075a2124b29e400f8ca17f12 (patch) | |
tree | f037ca301ceb4a722d3def0bfb1cb2b48449b461 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | c953a6a5ebf58b58ee99196214512c468b035b39 (diff) | |
download | bcm5719-llvm-c3faa19577355978075a2124b29e400f8ca17f12.tar.gz bcm5719-llvm-c3faa19577355978075a2124b29e400f8ca17f12.zip |
Broadcast an event when the selected thread is changed.
<rdar://problem/10976636>
llvm-svn: 169810
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 7098ca26c3b..b5fa5192371 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -1185,17 +1185,9 @@ protected: return false; } - process->GetThreadList().SetSelectedThreadByID(new_thread->GetID()); + process->GetThreadList().SetSelectedThreadByID(new_thread->GetID(), true); result.SetStatus (eReturnStatusSuccessFinishNoResult); - const uint32_t start_frame = 0; - const uint32_t num_frames = 1; - const uint32_t num_frames_with_source = 1; - new_thread->GetStatus (result.GetOutputStream(), - start_frame, - num_frames, - num_frames_with_source); - return result.Succeeded(); } |