[Lldb-commits] [lldb] r136744 - /lldb/trunk/source/Commands/CommandObjectTarget.cpp

Jason Molenda jmolenda at apple.com
Tue Aug 2 16:28:55 PDT 2011


Author: jmolenda
Date: Tue Aug  2 18:28:55 2011
New Revision: 136744

URL: http://llvm.org/viewvc/llvm-project?rev=136744&view=rev
Log:
Change CommandObjectTargetModulesAdd to set the return status
object on successful adding of a module.

Modified:
    lldb/trunk/source/Commands/CommandObjectTarget.cpp

Modified: lldb/trunk/source/Commands/CommandObjectTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectTarget.cpp?rev=136744&r1=136743&r2=136744&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectTarget.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectTarget.cpp Tue Aug  2 18:28:55 2011
@@ -2174,6 +2174,7 @@
                                 result.SetStatus (eReturnStatusFailed);
                                 return false;
                             }
+                            result.SetStatus (eReturnStatusSuccessFinishResult);
                         }
                         else
                         {





More information about the lldb-commits mailing list