This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Re: Accessing tls variables across files causes a bug


On Wed, Aug 06, 2008 at 04:46:50PM +0530, Vinay Sridhar wrote:
> We need to determine that the variable is a "tls" variable. When this is
> extern, the symbol is LOC_UNRESOLVED. So the section type from "sym" is
> not filled. Thats why I tried to determine this from the minimal symbol.
> If there is any other method of determining a variable is "tls" before
> its owning symtab is linked in, could you please inform? I used this
> section number as I could not find another way of determining this..

I imagine that Jan's right and we need to treat all unresolved symbols
this way - or be less eager about creating unresolved symbols.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]