Be sure to have a handy command reference within easy reach at any time when using GDB. Doing so will make it easy to become familiar with the more involved commands. gcc -o hello -g3 hello.c gdb ...