On Thu, Jul 7, 2011 at 4:52 PM, Mahr, Stefan <[email protected]> wrote:
>>> If alignment is not guaranteed, casting from uint32 to void would cause 
>>> problems too, wouldn't it?
>> Why?
>
> Sorry for confusion. I meant the casting within "mips32_pracc_read_mem". This
> is also a cast from void* to uint32_t*. If there will be an alignment error, 
> it will
> occur here too.

That's correct. There is no way to know from the code context, is there?

No documentation either.


-- 
Ø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
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to