summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-11-21 21:51:18 +0000
committerGreg Clayton <gclayton@apple.com>2011-11-21 21:51:18 +0000
commit162b597c4cf780ac996ca07ed3eefec024bbee8e (patch)
tree32d1b4a72721f19e04f40f8563724140a397e88b /lldb/source/Commands/CommandObjectProcess.cpp
parente372b98d18c6a3aea5fbf1c4fab822642e5d4193 (diff)
downloadbcm5719-llvm-162b597c4cf780ac996ca07ed3eefec024bbee8e.tar.gz
bcm5719-llvm-162b597c4cf780ac996ca07ed3eefec024bbee8e.zip
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
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectProcess.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp
index 4e9d499b3bd..16f4b9e3c36 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);
}
OpenPOWER on IntegriCloud