[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Debugging in gdb



Since linuxthreads uses SIGUSR1,2 you might want to do
thread apply all handle SIGUSR2 nostop pass
thread apply all handle SIGUSR1 nostop pass
in gdb...


Now, the question is how can I get GDB to attach to the second thread (the
one that causes the segfault on my machine)?

Andrew