Overture Networks interview question

2. how to use gdb for multi threaded application?