From 162b597c4cf780ac996ca07ed3eefec024bbee8e Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Mon, 21 Nov 2011 21:51:18 +0000 Subject: Save the arguments for a process launch in the target.run-args so they can easily be used in the next run. llvm-svn: 145051 --- lldb/source/Commands/CommandObjectProcess.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lldb/source/Commands/CommandObjectProcess.cpp') diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index 4e9d499b3bd1..16f4b9e3c36d 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -220,6 +220,9 @@ public: } else { + // Save the arguments for subsequent runs in the current target. + target->SetRunArguments (launch_args); + m_options.launch_info.GetArguments().AppendArguments (launch_args); } -- cgit v1.2.3