0091 these commands in a file .gdbinit in the current directory then gdb will run 0092 these commands automatically when it starts. 0093 0094 Currently, BOCHS does not support GDB-stub AND SMP at the same time. It has an 0095 internal debugger that can be enabled with SMP however. There is an 0096 undocumented command: "set $cpu <n>" which allows you to switch processors in 0097 the BOCHS debugger. 0098 0099 Examining gdb-stub packets: 0100 sudo tcpdump -s 256 -i lo 'tcp port 1234 and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)' -w tcp.dump 0101 sudo tcpdump -X -r tcp.dump|less 0102