Lipika Deka
Lipika Deka

Reputation: 3884

Debugging a multithreaded program

While debugging a multithreaded c program using GDB, how do I find out the execution position of individual threads in situations like " the execution of a program hanging midway".

Thanks

Upvotes: 0

Views: 178

Answers (1)

Employed Russian
Employed Russian

Reputation: 213375

Hit Contol-C to get the (gdb) prompt, and then thread apply all where.

Upvotes: 3

Related Questions