diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-03-30 21:19:59 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-03-30 21:19:59 +0000 |
commit | c640179166b973c6969d450ccb59b3c8bf5a5133 (patch) | |
tree | d95c43d748165a3f98f46a9f2bd294db548a3338 /lldb/source/Commands/CommandObjectPlatform.cpp | |
parent | 4e9ca1b3ba4f83de9819a60cb803b10c9a9d6a71 (diff) | |
download | bcm5719-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.cpp | 2 |
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(); } }; |