From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8018 invoked by alias); 12 Feb 2009 05:45:31 -0000 Received: (qmail 8009 invoked by uid 22791); 12 Feb 2009 05:45:31 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from e23smtp03.au.ibm.com (HELO e23smtp03.au.ibm.com) (202.81.31.145) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Feb 2009 05:45:26 +0000 Received: from d23relay01.au.ibm.com (d23relay01.au.ibm.com [202.81.31.243]) by e23smtp03.au.ibm.com (8.13.1/8.13.1) with ESMTP id n1C5hkLi011762 for ; Thu, 12 Feb 2009 16:43:46 +1100 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.235.139]) by d23relay01.au.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id n1C5jeiV332176 for ; Thu, 12 Feb 2009 16:45:40 +1100 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n1C5jMpf016331 for ; Thu, 12 Feb 2009 16:45:22 +1100 Received: from [9.124.31.74] (vinaysridhar.in.ibm.com [9.124.31.74]) by d23av04.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n1C5jLDb016270; Thu, 12 Feb 2009 16:45:21 +1100 Subject: Re: [RFC][Patch] Fix gdb failure to access tls data for parent thread From: Vinay Sridhar To: Daniel Jacobowitz Cc: gdb-patches@sourceware.org, luisgpm@linux.vnet.ibm.com In-Reply-To: <20090211155300.GA22689@caradoc.them.org> References: <200901091416.10563.vinay@linux.vnet.ibm.com> <20090204132851.GA9935@caradoc.them.org> <1234341068.13249.4.camel@localhost.localdomain> <20090211155300.GA22689@caradoc.them.org> Content-Type: text/plain Date: Thu, 12 Feb 2009 05:45:00 -0000 Message-Id: <1234417406.6489.3.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-02/txt/msg00275.txt.bz2 On Wed, 2009-02-11 at 10:53 -0500, Daniel Jacobowitz wrote: > On Wed, Feb 11, 2009 at 02:01:08PM +0530, Vinay Sridhar wrote: > > Daniel, > > > > Sorry for the late response. I can confirm that attach_thread is not > > called on the parent thread. The test case I had listed in my earlier > > mail uses OMP for thread creation. Could that have something to do with > > this? > > Well, it shouldn't; libgomp uses the normal POSIX thread interfaces. > I assume you're using GCC -fopenmp, right? Or is this another OpenMP > implementation? > I used IBM's XLC compiler which has an inbuilt OpenMP implementation.