gdb-usage.txt 311 B

12345
  1. "disas $pc,+32" disassembles 32 bytes from the current PC
  2. the display command prints after execution stops, so "disp /3i $pc" will print the next 3 instructions every time gdb gets control
  3. "stepi" and "nexti" do single-instruction step/next ("step" and "next" are source-line stepping and require debug info)