Next: , Previous: Pointer Values, Up: Protocol-specific Representation of Datatypes


Memory Transfer

Structured data which is transferred using a memory read or write (for example, a 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 F 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.