The TUI in gdb is a great way to get started with gdb.
Instead of writing your own hooks and commands you can visually step through the program and source code ( if you have debug symbols enabled)
I think that more people should know about this feature.