This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Re: Accessing tls variables across files causes a bug
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vinay Sridhar <vinay at linux dot vnet dot ibm dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sources dot redhat dot com, luisgpm at linux dot vnet dot ibm dot com, uweigand at de dot ibm dot com
- Date: Tue, 5 Aug 2008 08:21:18 -0400
- Subject: Re: [patch] Re: Accessing tls variables across files causes a bug
- References: <1217480020.4755.1.camel@vinaysridhar.in.ibm.com> <20080802171807.GA2755@host0.dyn.jankratochvil.net> <1217925527.3658.41.camel@vinaysridhar.in.ibm.com>
On Tue, Aug 05, 2008 at 02:08:47PM +0530, Vinay Sridhar wrote:
> 2. obtain symbol info from msymtab and check for the section value.
> AFAIK, elf has section=17 for tls.
This number doesn't mean anything. You want the STT_TLS section type.
But if you're doing the right thing without a minimal symbol why rely
on a minimal symbol at all?
--
Daniel Jacobowitz
CodeSourcery