From 1ee61a7f3b11cfdc1a787186a3309cba742d57a1 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Mon, 18 Apr 2011 21:08:05 +0000 Subject: Add a test script for exercising the "taregt create", "target list", and "target select" commands. llvm-svn: 129717 --- lldb/source/Commands/CommandObjectTarget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lldb/source/Commands') 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 { -- cgit v1.2.3