This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/11803] TLS (__thread) on static class member variable trips assert
- From: "lm at zork dot pl" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 13 Sep 2010 15:41:02 -0000
- Subject: [Bug exp/11803] TLS (__thread) on static class member variable trips assert
- References: <20100709204412.11803.jacob@durbatuluk.us>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.