summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectPlatform.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-03-30 21:19:59 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-03-30 21:19:59 +0000
commitc640179166b973c6969d450ccb59b3c8bf5a5133 (patch)
treed95c43d748165a3f98f46a9f2bd294db548a3338 /lldb/source/Commands/CommandObjectPlatform.cpp
parent4e9ca1b3ba4f83de9819a60cb803b10c9a9d6a71 (diff)
downloadbcm5719-llvm-c640179166b973c6969d450ccb59b3c8bf5a5133.tar.gz
bcm5719-llvm-c640179166b973c6969d450ccb59b3c8bf5a5133.zip
A a simple test file for some lldb 'platform' commands.
Add a missing result.SetStatus() stmt to the CommandObjectPlatformList::Execute() impl. llvm-svn: 128575
Diffstat (limited to 'lldb/source/Commands/CommandObjectPlatform.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectPlatform.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp
index b57a51be5eb..42ede898c86 100644
--- a/lldb/source/Commands/CommandObjectPlatform.cpp
+++ b/lldb/source/Commands/CommandObjectPlatform.cpp
@@ -206,6 +206,8 @@ public:
result.AppendError ("no platforms are available\n");
result.SetStatus (eReturnStatusFailed);
}
+ else
+ result.SetStatus (eReturnStatusSuccessFinishResult);
return result.Succeeded();
}
};
OpenPOWER on IntegriCloud