Your Application versus GDB
- Track: Tracing and debugging
- Room: Janson
- Day: Saturday
- Start: 15:00
- End: 15:50
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 |