Note that this problem has cropped up many places over the OpenOCD
code. I'd like to get rid of it once and for all....

I absolutely intend to fix it for MIPS, but I'd like a good long term solution.

With jtag queue callbacks, a user data pointer to the callback is cast to
a void pointer, then cast back to e.g. uint32_t *. Casting to/from void *
does not yield a warning(should not anyway, right?), but casting from
uint8_t * to uint32_t * is dubious because the code does not clearly
state it's assumptions.


-- 
Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to