commit | 3e6f2cc60700cb8347ca35a9756dcd8447bcfb6d | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Mon Nov 21 21:51:18 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Mon Nov 21 21:51:18 2011 +0000 |
tree | 16102583a2ccc4095a272935d5317047d15ffe97 | |
parent | be9875dc16a839be592110d9de6dc2c9285c5b61 [diff] [blame] |
Save the arguments for a process launch in the target.run-args so they can easily be used in the next run. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@145051 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectProcess.cpp b/source/Commands/CommandObjectProcess.cpp index 4e9d499..16f4b9e 100644 --- a/source/Commands/CommandObjectProcess.cpp +++ b/source/Commands/CommandObjectProcess.cpp
@@ -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); }