conferences | speakers | series

Your Application versus GDB

home

Your Application versus GDB
FOSDEM 2014

In recent years GDB has undergone a renaissance, adding Python scripting and other cool new features. This talk will show you how to customize GDB for your application and your debugging needs. We'll go into depth about pretty printing, stack trace filtering, and writing new commands; and will also discuss writing GUIs and other tools inside GDB. Finally, we'll cover other interesting and useful GDB projects.

In this talk we'll cover:

  • A high-level overview of how GDB has modernized in the last few years

  • Customizing GDB for your application, using Python:

    • Writing a pretty-printer
    • Writing a stack trace ("frame") filter
    • Writing new commands, functions and other goodies
    • Cool use cases like built-in GUIs
  • Other projects to help your debugging

    • Scalability
    • Local/remote feature parity
    • C++ features
    • Multi-inferior, multi-target debugging

Speakers: Tom Tromey