summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2012-05-16 00:37:40 +0000
committerJim Ingham <jingham@apple.com>2012-05-16 00:37:40 +0000
commit29412d1c5cddc51c08fe59b8f17541c4be648e67 (patch)
tree2be9623922333c2d19aa8db26c5501362660790a /lldb/source/Commands/CommandObjectThread.cpp
parent644f7f1df177a869d7298cda5f02935721eaa87b (diff)
downloadbcm5719-llvm-29412d1c5cddc51c08fe59b8f17541c4be648e67.tar.gz
bcm5719-llvm-29412d1c5cddc51c08fe59b8f17541c4be648e67.zip
Set the result status correctly for asynchronous step-in/out/over commands.
llvm-svn: 156885
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectThread.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectThread.cpp b/lldb/source/Commands/CommandObjectThread.cpp
index 040278bdfb4..7ecf74057e8 100644
--- a/lldb/source/Commands/CommandObjectThread.cpp
+++ b/lldb/source/Commands/CommandObjectThread.cpp
@@ -543,6 +543,10 @@ public:
result.AppendMessageWithFormat ("Process %llu %s\n", process->GetID(), StateAsCString (state));
result.SetStatus (eReturnStatusSuccessFinishNoResult);
}
+ else
+ {
+ result.SetStatus (eReturnStatusSuccessContinuingNoResult);
+ }
}
else
{
OpenPOWER on IntegriCloud