This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: thread apply all - not working?
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb at sources dot redhat dot com
- Date: Fri, 27 May 2005 15:15:34 -0400
- Subject: Re: thread apply all - not working?
- References: <20050527184645.GA59006@keyslapper.net>
On Fri, May 27, 2005 at 02:46:46PM -0400, Louis LeBlanc wrote:
> I'm having trouble getting stack traces on all threads from a core file.
>
> I was under the impression that "thread apply all bt" should get it, but
> I only get the last thread.
>
> I am using GNU gdb 6.3.0.20050516-cvs on Solaris. The core was
> generated by an app built with gcc 3.3.
>
> Am I missing something?
Does info threads show multiple threads? If not, either the core dump
only contains one thread, or GDB does not know how to extract threads
from a core dump on Solaris - I think this used to work, but I don't
know if it has been tried lately.
--
Daniel Jacobowitz
CodeSourcery, LLC