From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13767 invoked by alias); 27 May 2005 19:15:38 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 13749 invoked by uid 22791); 27 May 2005 19:15:35 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 27 May 2005 19:15:35 +0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DbkIw-0004rH-84 for gdb@sources.redhat.com; Fri, 27 May 2005 15:15:34 -0400 Date: Fri, 27 May 2005 19:15:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: thread apply all - not working? Message-ID: <20050527191534.GA18636@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: <20050527184645.GA59006@keyslapper.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050527184645.GA59006@keyslapper.net> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-05/txt/msg00352.txt.bz2 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