### log all instructions set logging on set logging file gdb_out.txt ### only if you want to see the raw gdb packets... #set debug remote 1 ### if you're debugging the BIOS set architecture i386 ### if you are debugging a warmed-up OS # set architecture i386:x86-64 ### where the probe is: target remote /dev/ttyACM0 ### or, if it is connected to your LAN, ### let's say at 192.168.1.111, # target remote 192.168.1.111:2159 # Show instructions on single-step set disassemble-next-line on # Disable evil, heretical GAS syntax #set disassembly-flavor intel ### if you want the ncurses gui in gdb # layout asm