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
SBLaunchInfo
SBTarget::GetLaunchInfo();

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

// Launch using the target's current launch info
SBProcess
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 <[email protected]> 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
> 
> EMAIL PREFERENCES
>  http://reviews.llvm.org/settings/panel/emailpreferences/
> 
> 


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to