This is the mail archive of the gdb-prs@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]

[Bug exp/11803] TLS (__thread) on static class member variable trips assert


------- Additional Comments From lm at zork dot pl  2010-09-13 15:41 -------
(In reply to comment #1)
> From what I can tell, TLS needs registers, but not actually a frame
> in the gdb internals sense.  Looking through the code paths, I don't
> see anything actually using a frame.  And, it seems to me that these
> frame checks are actually gdb internal consistency checks.
> So, I think it is probably safe to change needs_frame_tls_address.
> 

I just run into this on i686. I verified test program with gdb 7.2.50.20100913-
cvs and gcc-4.5.1 under linux it breaks in the same way.

In my case this bug breaks all IDE front ends when debugging wxWidgets they try 
to access all local variables when stepping through code, and wxString class has 
thread-local static class variable.

Changing needs_frame_tls_address fixes this problem.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11803

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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