Sunday, July 05, 2009

GDB handy commands

Multi-threaded

info threads

Signals

info signals
// To pass the signal from GDB to the process.
handle SIGINT pass

To Debug a running process using GDB

gdb