summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorIlia K <ki.stfu@gmail.com>2015-02-13 17:07:55 +0000
committerIlia K <ki.stfu@gmail.com>2015-02-13 17:07:55 +0000
commitcc39d3f4bd1e457b8356d68d9e083e3d39c04e8d (patch)
treeafacecdd7fa1e0b1faabb8e57db017722eae9a4e /lldb/source/Commands/CommandObjectProcess.cpp
parent30d471f6aa34731861e892ee2652380d2c4617c3 (diff)
downloadbcm5719-llvm-cc39d3f4bd1e457b8356d68d9e083e3d39c04e8d.tar.gz
bcm5719-llvm-cc39d3f4bd1e457b8356d68d9e083e3d39c04e8d.zip
Fix Arg0 argument after r229110. The problem was that Arg0ValueChangedCallback isn't twitching when Arg0 was updated, therefore target was launched with empty 1st argument or without it at all. In this patch I update Arg0 by hand.
llvm-svn: 229125
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp
index 29045c00ff1..85206d4a1a5 100644
--- a/lldb/source/Commands/CommandObjectProcess.cpp
+++ b/lldb/source/Commands/CommandObjectProcess.cpp
@@ -249,7 +249,7 @@ protected:
if (launch_args.GetArgumentCount() == 0)
{
- m_options.launch_info.GetArguments() = target->GetProcessLaunchInfo().GetArguments();
+ m_options.launch_info.GetArguments().AppendArguments (target->GetProcessLaunchInfo().GetArguments());
}
else
{
OpenPOWER on IntegriCloud