From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25655 invoked by alias); 22 Oct 2008 20:02:06 -0000 Received: (qmail 25586 invoked by uid 22791); 22 Oct 2008 20:02:01 -0000 X-Spam-Check-By: sourceware.org Received: from yw-out-1718.google.com (HELO yw-out-1718.google.com) (74.125.46.154) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 22 Oct 2008 20:01:25 +0000 Received: by yw-out-1718.google.com with SMTP id 9so866376ywk.48 for ; Wed, 22 Oct 2008 13:01:22 -0700 (PDT) Received: by 10.64.184.18 with SMTP id h18mr8915476qbf.39.1224705682165; Wed, 22 Oct 2008 13:01:22 -0700 (PDT) Received: by 10.65.220.4 with HTTP; Wed, 22 Oct 2008 13:01:22 -0700 (PDT) Message-ID: <568e62a40810221301t301c7d46o9e1d4446d54abc7f@mail.gmail.com> Date: Wed, 22 Oct 2008 20:02:00 -0000 From: "ying lcs" To: gdb@sourceware.org Subject: how can I dump out thread informations in gdb MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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/msg00093.txt.bz2 Hi, 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? Thank you.