From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6179 invoked by alias); 26 Apr 2010 11:25:42 -0000 Received: (qmail 6157 invoked by uid 22791); 26 Apr 2010 11:25:41 -0000 X-SWARE-Spam-Status: No, hits=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 26 Apr 2010 11:25:34 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o3QBPWtb029112 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 26 Apr 2010 07:25:33 -0400 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o3QBPUba023472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 26 Apr 2010 07:25:32 -0400 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.4/8.14.4) with ESMTP id o3QBPUfg000434; Mon, 26 Apr 2010 13:25:30 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.4/8.14.4/Submit) id o3QBPTA2000433; Mon, 26 Apr 2010 13:25:29 +0200 Date: Mon, 26 Apr 2010 11:25:00 -0000 From: Jan Kratochvil To: gdb Mailing List Cc: Stefano Sabatini Subject: Re: pthread_t ids of threads not showed by "thread info" Message-ID: <20100426112529.GA300@host0.dyn.jankratochvil.net> References: <20100422165924.GA1109@host0.dyn.jankratochvil.net> <20100423075135.GA3297@geppetto> <20100423102506.GA21618@host0.dyn.jankratochvil.net> <20100423142115.GA4538@geppetto> <20100423142511.GA6385@host0.dyn.jankratochvil.net> <20100423153554.GB4719@geppetto> <20100423154629.GA10463@host0.dyn.jankratochvil.net> <20100426083809.GA5767@geppetto> <20100426090357.GA27874@host0.dyn.jankratochvil.net> <20100426110718.GA10712@geppetto> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100426110718.GA10712@geppetto> User-Agent: Mutt/1.5.20 (2009-08-17) 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-04/txt/msg00139.txt.bz2 On Mon, 26 Apr 2010 13:07:18 +0200, Stefano Sabatini wrote: > On Monday 2010-04-26 11:03:57 +0200, Jan Kratochvil wrote: > > On Mon, 26 Apr 2010 10:38:09 +0200, Stefano Sabatini wrote: > > readelf -wi /usr/lib/debug/lib64/libpthread.so.0.debug > > [ formatted a bit ] > > <1><9304>: Abbrev Number: 111 (DW_TAG_variable) > > <9305> DW_AT_name : (indirect string, offset: 0x300b): __stack_user > > <930f> DW_AT_type : <0x461b> > > <9313> DW_AT_external : 1 > > <9314> DW_AT_location : 9 byte block: 3 80 b2 21 0 0 0 0 0 (DW_OP_addr: 21b280) > > <1><461b>: Abbrev Number: 3 (DW_TAG_typedef) > > <461c> DW_AT_name : (indirect string, offset: 0x7f8): list_t ... > > If Debian GDB cannot find the symbols guessing Debian probably has more light > > (smaller) debug info packages. > > Can you suggest a command I can use to check this? It was that "readelf -wi" command above, with some appropriate path to your libpthread separate debug info file. Search in its output for appropriate definitions (which should be obvious without reading the DWARF documentation). Regards, Jan