diff options
author | Ilia K <ki.stfu@gmail.com> | 2015-02-13 14:31:06 +0000 |
---|---|---|
committer | Ilia K <ki.stfu@gmail.com> | 2015-02-13 14:31:06 +0000 |
commit | 8f37ca56d6d06b73e5c9efa96bce734230c3ec1f (patch) | |
tree | 72578ebdb8c2c54dd3bfd1118c795b3c00d29dd6 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | 5716bb9faac75b645744cae287a9bf46aeee7700 (diff) | |
download | bcm5719-llvm-8f37ca56d6d06b73e5c9efa96bce734230c3ec1f.tar.gz bcm5719-llvm-8f37ca56d6d06b73e5c9efa96bce734230c3ec1f.zip |
Add -exec-arguments command
Summary:
This patch adds -exec-arguments command for lldb-mi. -exec-arguments command allows to specify arguments for executable file in MI mode. Also it contains tests for that command.
Btw, new added files was formatted by clang-format.
Reviewers: abidh, zturner, clayborg
Reviewed By: clayborg
Subscribers: zturner, emaste, clayborg, jingham, lldb-commits
Differential Revision: http://reviews.llvm.org/D6965
llvm-svn: 229110
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectProcess.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index 5cd23482978..29045c00ff1 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -249,9 +249,7 @@ protected: if (launch_args.GetArgumentCount() == 0) { - Args target_setting_args; - if (target->GetRunArguments(target_setting_args)) - m_options.launch_info.GetArguments().AppendArguments (target_setting_args); + m_options.launch_info.GetArguments() = target->GetProcessLaunchInfo().GetArguments(); } else { |