IMHO most of these are due to the GDB protocol (which uses single chars for commands + a weird checksum thing and stuff like that). The rest is due to C string parsing code.