From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5356 invoked by alias); 13 Aug 2010 23:44:39 -0000 Received: (qmail 5347 invoked by uid 22791); 13 Aug 2010 23:44:38 -0000 X-SWARE-Spam-Status: No, hits=0.0 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL,WEBMAIL_FROM X-Spam-Check-By: sourceware.org Received: from mail-gw0-f41.google.com (HELO mail-gw0-f41.google.com) (74.125.83.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 13 Aug 2010 23:44:35 +0000 Received: by gwj16 with SMTP id 16so1535537gwj.0 for ; Fri, 13 Aug 2010 16:44:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.162.2 with SMTP id t2mr2285505ibx.57.1281743074075; Fri, 13 Aug 2010 16:44:34 -0700 (PDT) Received: by 10.231.155.17 with HTTP; Fri, 13 Aug 2010 16:44:34 -0700 (PDT) Date: Fri, 13 Aug 2010 23:44:00 -0000 Message-ID: Subject: Debug threads From: hce To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 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: 2010-08/txt/msg00087.txt.bz2 Hi, I am debug a problem on CentOS 5, the problem used %100 CPU and there are 9 threads running. Which gdb command can I find out which thread is current running and hooked %100 CPU? Thank you. Kind regards. hce