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

Greg Clayton clayborg at gmail.com
Tue Feb 10 11:27:41 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
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.


http://reviews.llvm.org/D6965

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the lldb-commits mailing list