diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-04-18 21:08:05 +0000 | 
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-18 21:08:05 +0000 | 
| commit | 1ee61a7f3b11cfdc1a787186a3309cba742d57a1 (patch) | |
| tree | 4600bd3194cd2df623695626b9d4b96b9c58b019 /lldb/source | |
| parent | b2545fbc2a85cd8feca55051626cfc76e30d7f3e (diff) | |
| download | bcm5719-llvm-1ee61a7f3b11cfdc1a787186a3309cba742d57a1.tar.gz bcm5719-llvm-1ee61a7f3b11cfdc1a787186a3309cba742d57a1.zip  | |
Add a test script for exercising the "taregt create", "target list", and "target select" commands.
llvm-svn: 129717
Diffstat (limited to 'lldb/source')
| -rw-r--r-- | lldb/source/Commands/CommandObjectTarget.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectTarget.cpp b/lldb/source/Commands/CommandObjectTarget.cpp index 6332976a875..b5693b18b8e 100644 --- a/lldb/source/Commands/CommandObjectTarget.cpp +++ b/lldb/source/Commands/CommandObjectTarget.cpp @@ -300,6 +300,7 @@ public:              {                  strm.PutCString ("No targets.\n");              } +            result.SetStatus (eReturnStatusSuccessFinishResult);          }          else          { @@ -355,6 +356,7 @@ public:                          target_list.SetSelectedTarget (target_sp.get());                          bool show_stopped_process_status = false;                          DumpTargetList (target_list, show_stopped_process_status, strm); +                        result.SetStatus (eReturnStatusSuccessFinishResult);                      }                      else                      {  | 

