FYI: I looked how run-args are specified for Target class. At the moment it can 
be done by using "settings set target.run-args" command which sets Debugger's 
"target.run-args" property. But actually this property is mapped to Target's 
ePropertyRunArgs property which can be read by Target::GetRunArguments and 
modified by Target::SetRunArguments. You can see in Target.cpp that 
Target::Launch gets these arguments by using Target::GetRunArguments.

My implementation of "-exec-arguments" uses Target::SetRunArguments (which is 
wrapped in SBTarget::SetRunArguments) and as I said above it's the same thing. 
Thus the my implementation works the same way as "settings set target.run-args" 
and if you don't like it, then this architecture can be rewritten, but it's 
outside the scope of this CL.


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