[Lldb-commits] [PATCH] Add -exec-arguments command

Greg Clayton clayborg at gmail.com
Tue Feb 10 11:27:36 PST 2015

It would be nice to have lldb_private::Target have its own ProcessLaunchInfo as a member variable and change all storage of settings (target.run-args, target.arg0 etc) and have the settings just modify the lldb_private::Target's version of this. Then we can add functions to SBTarget:

// Get a _copy_ of the target's launch info

// Set the target's launch info
SBTarget::GetLaunchInfo(SBLaunchInfo &launch_info);

// Launch using the target's current launch info
Launch (SBError& error);

This would be fine to add. Then you can make your test work again.

> On Feb 10, 2015, at 11:18 AM, Greg Clayton <clayborg at gmail.com> wrote:
> You could verify that you can set the args with "settings set" and then run with your empty SBLaunchInfo and verify that you got the right args?
> http://reviews.llvm.org/D6965
>  http://reviews.llvm.org/settings/panel/emailpreferences/

More information about the lldb-commits mailing list