From cc39d3f4bd1e457b8356d68d9e083e3d39c04e8d Mon Sep 17 00:00:00 2001 From: Ilia K Date: Fri, 13 Feb 2015 17:07:55 +0000 Subject: 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 --- lldb/source/Commands/CommandObjectProcess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Commands/CommandObjectProcess.cpp') diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index 29045c0..85206d4 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 { -- cgit v1.1