From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31512 invoked by alias); 4 Apr 2009 21:21:28 -0000 Received: (qmail 31502 invoked by uid 22791); 4 Apr 2009 21:21:27 -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; Sat, 04 Apr 2009 21:21:18 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 53B16107D1; Sat, 4 Apr 2009 21:21:16 +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 23BF6107C8; Sat, 4 Apr 2009 21:21:16 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LqDIg-0000rv-Di; Sat, 04 Apr 2009 17:21:14 -0400 Date: Sat, 04 Apr 2009 22:17: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: <20090404212114.GA3077@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <834ox4cfz2.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/msg00052.txt.bz2 On Sat, Apr 04, 2009 at 11:37:53PM +0300, Eli Zaretskii wrote: > > Date: Sat, 4 Apr 2009 15:21:32 -0400 > > From: Daniel Jacobowitz > > Cc: dje@google.com, gdb@sourceware.org > > > > I think the existing IDs are quite handy. > > What for? If they are useful, we should probably tell in the manual > how to use them. Their meaning is platform-specific; they're usually something that will be recognized by programmers familiar with the OS in question. On native Linux, they're the same as pthread_self would return. I think they're just LWP IDs when using gdbserver; we had trouble passing NPTL thread IDs over the remote protocol. -- Daniel Jacobowitz CodeSourcery