Cool New Stuff in GDB 9, 10 and 11

By Greg Law

GDB is bigger than you might think, and it’s evolving fast. This is a depth-first walk through what’s been added in versions 9, 10 and 11. Depth-first meaning that no prior knowledge of these features is assumed, but even if you’ve used them before there should be plenty new for you. Few slides, lots of live demos. Some brand new things and some neat new additions to existing features. Topics include the new debuginfod facility; better user-defined commands; enhancements to super-useful convenience variables such as $_siginfo, $_gdb_setting, $_gdb_setting_str; enhancements to TUI mode; how to add new TUI windows from GDB’s Python scripting; advanced querying of types from GDB’s Python scripting; and enhanced configuration of backtrace printing. You should learn at least two new tricks that will make improve you debugging effectiveness, and so make you a better programmer.