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<
pthread_create<
Try this:
(gdb) b __pthread_create_2_1
Or build your own GDB with this patch applied.
GDB
Or try the latest pre-release GDB here, which should allow you to do "catch syscall clone"
"catch syscall clone"