[lug] OT: Dumping gdb backtrace data to a file?

Scott Herod herod at dimensional.com
Thu Oct 24 16:05:28 MDT 2002


Hello,

A quick gdb question:  Is it possible to dump the results of a gdb 
command to a file?  I'm trying debug a massively multi-threaded app. 
which, not surprisingly, seems to have a problem with thread-death.  The 
results of "thread apply all bt" goes on for hundreds of lines. Is there 
some way to dump all of that to a file so I can diff. multiple crashes?

Thanks,

Scott




More information about the LUG mailing list