Essential gdb Commands

run Runs program
info registers Shows current values in registers
list Shows source code, if linked
break Sets a breakpoint
x/30x $esp Shows 30 words in hexadecimal, starting at $esp
disassemble mail Disassembles code starting at main()

References

Here are some pages with far more complete information:

Posted: 5-21-18