Skip to content (access key 's')
Logo of Technion
Logo of CS Department


Haifux, Haifa Linux Club: Advanced GDb
event speaker icon
David Khosid (Technion and Sandvine)
event date icon
Monday, 21.9.2009, 18:30
event location icon
Taub 6
In general, I will be sharing my discovery with you: When the debugging of modern software is required, basic GDB techniques are insufficient, but new techniques can be created from the nearly 160 commands available in GDB. "Modern software" refers to multi- threading, using STL and other libraries, IPC, signals and exception mechanisms. In this lecture, I will explain techniques for debugging large, modern software written in C++.

The presentation will be accompanied by vivid examples for all the topics.

Covered topics:

Preparing a program for debugging; starting the debug session
Controlling GDB: getting help, navigating, using breakpoints and watchpoints
Extending GDB through user-defined commands
Analyzing STL containers and algorithms
Dealing with multi-threading, C++ exceptions
Managing signals
Automating repetitive tasks on the almost unchanging code base
Remote debugging

This is a re-run of a Telux talk from Spetember 6th, 2009. In view of guy keren's recent talks, the focus of the Haifux talk will be automating repetitive tasks, a little more on debugging STL containers etc.
[Back to the index of events]