From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16721 invoked by alias); 5 Apr 2009 03:42:55 -0000 Received: (qmail 16713 invoked by uid 22791); 5 Apr 2009 03:42:55 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 05 Apr 2009 03:42:49 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 9E6E0107D1; Sun, 5 Apr 2009 03:42:47 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 50B57107C8; Sun, 5 Apr 2009 03:42:47 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LqJFu-0006Ry-4G; Sat, 04 Apr 2009 23:42:46 -0400 Date: Sun, 05 Apr 2009 03:48:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: mark.kettenis@xs4all.nl, dje@google.com, gdb@sourceware.org Subject: Re: improved thread id reporting Message-ID: <20090405034246.GA24778@caradoc.them.org> Mail-Followup-To: Eli Zaretskii , mark.kettenis@xs4all.nl, dje@google.com, gdb@sourceware.org References: <20090404184604.8524C1C759C@localhost> <200904041904.n34J4UXV013513@brahms.sibelius.xs4all.nl> <20090404192132.GA28232@caradoc.them.org> <834ox4cfz2.fsf@gnu.org> <20090404212114.GA3077@caradoc.them.org> <831vs7dcc1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <831vs7dcc1.fsf@gnu.org> User-Agent: Mutt/1.5.17 (2008-05-11) 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: 2009-04/txt/msg00058.txt.bz2 On Sun, Apr 05, 2009 at 06:11:10AM +0300, Eli Zaretskii wrote: > > Date: Sat, 4 Apr 2009 17:21:14 -0400 > > From: Daniel Jacobowitz > > Cc: mark.kettenis@xs4all.nl, dje@google.com, gdb@sourceware.org > > > > On native Linux, they're the same as pthread_self would return. > > And how's that useful? You can use it to figure out which thread a pthread_t variable refers to, since those are the same as returned by pthread_self. Just look it up in the list of threads. -- Daniel Jacobowitz CodeSourcery