I agree with Greg that we should not add API to the SB API's unless there is an 
external programmer need for it.  Adding API just for testing purposes seems 
like a bad idea to me.  It will just end up making the API fat & hard to 
understand.

OTOH, I wonder if it would be interesting to have an 
SBCommandInterpreter::HandleCommand that takes an SBArg instead of a command 
string.  If you were trying to program HandleCommand, it might be nice not to 
have to cons up the string that protects all the quotes just so lldb will then 
take it apart again correctly.  In that case, it might be nice to have a way to 
just build up the args by hand.

Jim


http://reviews.llvm.org/D8265

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