summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2014-04-03 01:26:14 +0000
committerJim Ingham <jingham@apple.com>2014-04-03 01:26:14 +0000
commit6c9ed91ccae7f08784c234c26f1e2b4cbd8ed4d0 (patch)
treede261ad0754faa6e1ffcc26ea00f647e09657027 /lldb/source/Commands/CommandObjectThread.cpp
parent6cc0d2f61d20b5f5debacbfea575985e34764fea (diff)
downloadbcm5719-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.cpp8
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
{
OpenPOWER on IntegriCloud