On Fri, Jul 8, 2011 at 2:05 PM, Mahr, Stefan <stefan.m...@sphairon.com> wrote: >> Where are those functions defined and how do they know what the target >> endianness is? > > They doesn't know the target endianness, but host endianness. > > >> It sounds a little strange to do the swapping at this low level. > > You need swapping when reading and comparing debug registers or send code to > MIPS CPU.
Can you give the example of some of these comparisons in the source code ? You are referring to some comparisons in mips32_pracc.c ? BR, Drasko _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development