This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC][Patch] Fix gdb failure to access tls data for parent thread
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vinay Sridhar <vinay at linux dot vnet dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, luisgpm at linux dot vnet dot ibm dot com
- Date: Wed, 11 Feb 2009 10:53:00 -0500
- Subject: Re: [RFC][Patch] Fix gdb failure to access tls data for parent thread
- References: <200901091416.10563.vinay@linux.vnet.ibm.com> <20090204132851.GA9935@caradoc.them.org> <1234341068.13249.4.camel@localhost.localdomain>
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?
--
Daniel Jacobowitz
CodeSourcery