From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28371 invoked by alias); 19 Jun 2007 20:28:23 -0000 Received: (qmail 28363 invoked by uid 22791); 19 Jun 2007 20:28:22 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 19 Jun 2007 20:28:20 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id CFB5B982FB; Tue, 19 Jun 2007 20:28:18 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 9D453982FA; Tue, 19 Jun 2007 20:28:18 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I0kJW-0007mF-7L; Tue, 19 Jun 2007 16:28:34 -0400 Date: Tue, 19 Jun 2007 20:28:00 -0000 From: Daniel Jacobowitz To: John Bates Cc: gdb@sourceware.org Subject: Re: thread local storage (__thread) variables aren't working in gdb 6.5/6.6? Message-ID: <20070619202834.GA29881@caradoc.them.org> Mail-Followup-To: John Bates , gdb@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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: 2007-06/txt/msg00163.txt.bz2 On Tue, Jun 19, 2007 at 01:22:04PM -0700, John Bates wrote: > I can't find any confirmation of support or non-support of thread > local storage on the web or in the gdb documentation. I already tried > 6.6 and it was the same problem. The test below seems to confirm > non-support on my fedora core 6 (kernel 2.6.18) x86 distribution with > gdb 6.5. Please let me know if I am doing something wrong for > debugging __thread global variables. So far, they are only supported if you are linked to libpthread. Jan K. was working on this earlier. -- Daniel Jacobowitz CodeSourcery