> Probably, a better patch should merge the code pattern above in a
> single function, e.g. cfi_write_command_to_target(), that allocates
> local array, sets it, writes it to target and frees it.
> This would be less flexible, but would highlight the needed array size.

Optimizing code for readability? I like that!

We still want good performance though, but that's rarely a conflict.


-- 
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to