From c3faa19577355978075a2124b29e400f8ca17f12 Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Tue, 11 Dec 2012 02:31:48 +0000 Subject: Broadcast an event when the selected thread is changed. llvm-svn: 169810 --- lldb/source/Commands/CommandObjectThread.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'lldb/source/Commands/CommandObjectThread.cpp') diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index 7098ca2..b5fa519 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(); } -- cgit v1.1