gdb
gcc -g
gdb takes two command line arguments:
$ gdb executable core
E.g.
$ gdb a.out core $ gdb myprog
The core argument is optional.
core