[lug] OT: Dumping gdb backtrace data to a file?
Joseph McDonald
joem at uu.net
Thu Oct 24 16:38:44 MDT 2002
Here's one way in a csh-ish shell:
(gdb core > stdout.txt) >&stderr.txt
--joey
Scott Herod said:
>
> 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
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
>
More information about the LUG
mailing list