remote protocol target byte ordering question

Ananth Sowda
Tue Jul 1 01:42:00 GMT 2008

I know that GDB remote protocol uses target byte ordering for
multi-bytes values as in register set content, memory address or
values to be written  to the target memory. I don't see where in the
GDB code this swapping from host to target byte order is done. Can
someone point to the right segment of the code? Thanks for any

More information about the Gdb mailing list