|Debugging with GDB|
Structured data which is transferred using a memory read or write (for
struct stat) is expected to be in a protocol-specific format
with all scalar multibyte datatypes being big endian. Translation to
this representation needs to be done both by the target before the
packet is sent, and by gdb before
it transfers memory to the target. Transferred pointers to structured
data should point to the already-coerced data at any time.