Pleasant debugging with GDB and DDD
GDB is an old and ubiquitous debugger for Linux and BSD systems that has
extensive language, processor, and binary format support. Its interface is a
little cryptic, but learning GDB pays off.
This article is a set of miscellaneous configuration and scripting tricks that
illustrate reusable principles. It assumes you’re familiar with the basics of
debugging, like breakpoints, stepping, inspecting variables, etc.
Table of contents
GDB front ends
Fixing DDD freeze on startup
Honoring gdbinit chang...
Read more at begriffs.com