From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28461 invoked by alias); 22 Oct 2008 20:05:08 -0000 Received: (qmail 28452 invoked by uid 22791); 22 Oct 2008 20:05:07 -0000 X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 22 Oct 2008 20:04:32 +0000 Received: from wpaz24.hot.corp.google.com (wpaz24.hot.corp.google.com [172.24.198.88]) by smtp-out.google.com with ESMTP id m9MK4QKT014960 for ; Wed, 22 Oct 2008 21:04:27 +0100 Received: from wa-out-1112.google.com (wahv27.prod.google.com [10.114.248.27]) by wpaz24.hot.corp.google.com with ESMTP id m9MK4Oev032628 for ; Wed, 22 Oct 2008 13:04:25 -0700 Received: by wa-out-1112.google.com with SMTP id v27so1691093wah.17 for ; Wed, 22 Oct 2008 13:04:24 -0700 (PDT) Received: by 10.114.133.1 with SMTP id g1mr7979537wad.123.1224705864594; Wed, 22 Oct 2008 13:04:24 -0700 (PDT) Received: by 10.114.78.12 with HTTP; Wed, 22 Oct 2008 13:04:24 -0700 (PDT) Message-ID: <8ac60eac0810221304n4c244406ja26b0be0e6653d5b@mail.gmail.com> Date: Wed, 22 Oct 2008 20:05:00 -0000 From: "Paul Pluzhnikov" To: "ying lcs" Subject: Re: how can I dump out thread informations in gdb Cc: gdb@sourceware.org In-Reply-To: <568e62a40810221301t301c7d46o9e1d4446d54abc7f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <568e62a40810221301t301c7d46o9e1d4446d54abc7f@mail.gmail.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-10/txt/msg00094.txt.bz2 On Wed, Oct 22, 2008 at 1:01 PM, ying lcs wrote: > Can you please tell me how can I print out what are all the existing > threads in my programs (while I hit a breakpoint)? > And what are the stack trace of each of those threads? RTFM? info threads thread apply all where -- Paul Pluzhnikov