gdb breakpoint on pthread_create

Viewed 11704

I am trying to set a breakpoint in linux in gdb for a program creating threads. I would like to set a breakpoint on thread creation, but unfortunately pthread_create is a versioned symbol, and I can't get its full name.

If I type:

catch thread_start

I get

Catch of thread_start not yet implemented

How is the best way to catch thread creation in gdb for this situation?

3 Answers
Related