> I did some more poking. Maybe it will be useful. As this seems to be a memory > problem I thought maybe electric-fence will tell us something useful. So I > compiled oocd with libefence, and this is what I get: > Try also "valgrind". My understanding on electric-fence is that it uses MMU to set page access permission. This method cannot set anything smaller that the page size. So, if you malloc a buffer of 1 byte, you get a full page with R/W permission. Valgrind, instead, is a x86 (or PPC on old MAC) simulator. It catch every memory access outside the range return by malloc.
Antonio _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development