Quick debugging with gdb
Here's my routine to debug quick stuff on the cli:    $ gcc myprogram.c -g -o myprogram  $ gdb -tui...
Tags: c, gdb