MarkD's knowledge base for gdb
General
Do a stack trace of all threads
gdb> thread apply all bt
ignorning sigpipe
(gdb) handle SIGPIPE nostop
admin@badgertronics.com