[RFC][Patch] Fix gdb failure to access tls data for parent thread

Daniel Jacobowitz drow@false.org
Mon Feb 23 00:17:00 GMT 2009


On Fri, Feb 20, 2009 at 09:29:19AM +0530, Vinay Sridhar wrote:
> I placed a break on "add_thread" as you suggested. It doesn't seem to be
> hit at all, for any of the threads. 
> BTW, I'm using GNU gdb (GDB) 6.8.50.20090216.

At the time of the original error, are all your threads in the thread
list?  GDB's internal thread_list variable, not the result of "info
threads", which will check for new threads.

If they are, and they do not have private info set, what added them to
the thread list?  I missed one function; maybe they were added by
add_thread_silent?

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb-patches mailing list