Dear OpenOCD developers,

I was about to ask the question in IRC, but I thought that the answer could be
helpful for others too.

The question is about the difference between using command_print and
LOG_XXX (DEBUG, INFO, WARNING or ERROR), and why we should prefer the usage
of one among the other in command handlers.

The second question, is why in some command handlers we return an ERROR_OK
even if there is some occurred errors?
do we in command handlers report only errors related to syntax? and we
ignore functional errors ??

Thanks :)
Tarek
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to