[prev] 7 [next]

Basic GDB Commands

quit -- quits from gdb

help [CMD] -- on-line help

  • Gives information about CMD command.
run ARGS -- run the program
  • ARGS are whatever you normally use, e.g.

    $ xyz < data
    

    is acheived by

    (gdb) run < data