If we want to have a way to directly set the arguments in a Target, I would 
prefer to have the SBTarget vend the SBLaunchInfo that it will use when it 
launches (if you don't give it another SBLaunchInfo) and then set the arguments 
there.

Right now it is pretty incoherent, you can set arguments in the run-args, you 
can set them directly when you call launch, you can set them in a SBLaunchInfo 
which you pass to the target, and now you can set then by passing in an SBArgs. 
 That's too many ways to do the same thing.

Of the ones that it would be good to reuse, I think the SBLaunchInfo is the 
best structured, and encapsulates all the various options.  So we should expose 
that rather than make another entity.


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