About 6 years ago, when I was in my first few months at Pebble as a firmware engineer, I decided to take an entire workday to read through the majority of the GDB manual. It was by far one of my best decisions as an early professional engineer. After that day, I felt like I was 10x faster at debugging the Pebble firmware and our suite of unit tests. I even had a new
.gdbinit script with a few macros and configuration flags to boot, which I continue to amend to this day.
This is a companion discussion topic for the original entry at https://interrupt.memfault.com/blog/advanced-gdb