diff options
author | Daniel Malea <daniel.malea@intel.com> | 2013-07-03 17:58:31 +0000 |
---|---|---|
committer | Daniel Malea <daniel.malea@intel.com> | 2013-07-03 17:58:31 +0000 |
commit | 9a71a7d81bc6d0a70a702b9b242e72f9fa9ddaef (patch) | |
tree | 15ba21d33a021eace460219fdfc9f6640d69592b /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | 4331ac7bd34e2776971392592a319051f1fa3857 (diff) | |
download | llvm-9a71a7d81bc6d0a70a702b9b242e72f9fa9ddaef.zip llvm-9a71a7d81bc6d0a70a702b9b242e72f9fa9ddaef.tar.gz llvm-9a71a7d81bc6d0a70a702b9b242e72f9fa9ddaef.tar.bz2 |
Revert commits that cause broken builds on GCC buildbots
- build fails due to PyCallable template definition inside an extern "C" scope
This commit reverts 185240, 184893 and 184608.
llvm-svn: 185560
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectCommands.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp index 2791139..931decd 100644 --- a/lldb/source/Commands/CommandObjectCommands.cpp +++ b/lldb/source/Commands/CommandObjectCommands.cpp @@ -1328,9 +1328,7 @@ protected: // Don't change the status if the command already set it... if (result.GetStatus() == eReturnStatusInvalid) { - if (result.GetErrorData() && result.GetErrorData()[0]) - result.SetStatus(eReturnStatusFailed); - else if (result.GetOutputData() == NULL || result.GetOutputData()[0] == '\0') + if (result.GetOutputData() == NULL || result.GetOutputData()[0] == '\0') result.SetStatus(eReturnStatusSuccessFinishNoResult); else result.SetStatus(eReturnStatusSuccessFinishResult); |