[Lldb-commits] [lldb] r145051 - /lldb/trunk/source/Commands/CommandObjectProcess.cpp

Greg Clayton gclayton at apple.com
Mon Nov 21 13:51:18 PST 2011


Author: gclayton
Date: Mon Nov 21 15:51:18 2011
New Revision: 145051

URL: http://llvm.org/viewvc/llvm-project?rev=145051&view=rev
Log:
Save the arguments for a process launch in the target.run-args so they can
easily be used in the next run.


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

Modified: lldb/trunk/source/Commands/CommandObjectProcess.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectProcess.cpp?rev=145051&r1=145050&r2=145051&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectProcess.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectProcess.cpp Mon Nov 21 15:51:18 2011
@@ -220,6 +220,9 @@
         }
         else
         {
+            // Save the arguments for subsequent runs in the current target.
+            target->SetRunArguments (launch_args);
+
             m_options.launch_info.GetArguments().AppendArguments (launch_args);
         }
         





More information about the lldb-commits mailing list