Justin Erenkrantz wrote: >On Sat, Nov 10, 2001 at 09:21:48PM -0500, Dale Ghent wrote: > >>On Sat, 10 Nov 2001, Justin Erenkrantz wrote: >> >>| Can you reproduce this? Would it be possible to attach to this via >>| gdb and get a backtrace? -- justin >> >>I tried that, but gdb is showing me only the main thread that's running >>poll(). Is there a way to get it to show all threads? >> > >To list all running threads: info thread >To switch to a specific thread context: thread <#> >
And if that doesn't work, /usr/proc/bin/pstack {pid} will show stack traces for all the LWPs --Brian