You will need to get the object for each item individual and set the callback 
on each OptionValue separately. Right now only only the item OptionValue itself 
will call the callback it won't pass it up to the parent and call the parent's 
callback. You can change this to happen if you want. then you just need to 
install one callback and use the "OptionValue *option_value" second param and 
look at its name using:

  ConstString option_name = option_value->GetName();

Then you will need to find out which option it maps to and then set the right 
value.


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