diff options
author | Jim Ingham <jingham@apple.com> | 2014-04-03 01:26:14 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2014-04-03 01:26:14 +0000 |
commit | 6c9ed91ccae7f08784c234c26f1e2b4cbd8ed4d0 (patch) | |
tree | de261ad0754faa6e1ffcc26ea00f647e09657027 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 6cc0d2f61d20b5f5debacbfea575985e34764fea (diff) | |
download | bcm5719-llvm-6c9ed91ccae7f08784c234c26f1e2b4cbd8ed4d0.tar.gz bcm5719-llvm-6c9ed91ccae7f08784c234c26f1e2b4cbd8ed4d0.zip |
Make the fail messages
llvm-svn: 205497
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectThread.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp index b693cb37345..22ee5d85573 100644 --- a/lldb/source/Commands/CommandObjectThread.cpp +++ b/lldb/source/Commands/CommandObjectThread.cpp @@ -794,8 +794,9 @@ public: result.AppendMessageWithFormat ("%u, ", thread->GetIndexID()); else result.AppendMessageWithFormat ("%u ", thread->GetIndexID()); - - thread->SetResumeState (eStateRunning); + + const bool override_suspend = true; + thread->SetResumeState (eStateRunning, override_suspend); } else { @@ -826,7 +827,8 @@ public: if (thread == current_thread) { result.AppendMessageWithFormat ("Resuming thread 0x%4.4" PRIx64 " in process %" PRIu64 "\n", thread->GetID(), process->GetID()); - thread->SetResumeState (eStateRunning); + const bool override_suspend = true; + thread->SetResumeState (eStateRunning, override_suspend); } else { |