[patch] Re: Accessing tls variables across files causes a bug
Daniel Jacobowitz
drow@false.org
Tue Aug 5 12:22:00 GMT 2008
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
More information about the Gdb-patches
mailing list