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] Fix debugging with destroyed TLS


On 03/18/2016 09:15 PM, Andi Kleen wrote:
> 
> This is a fix for https://sourceware.org/bugzilla/show_bug.cgi?id=19684
> 
> I have some code that overwrites FS on x86-64. This breaks debugging
> in gdb, because every operation tries to read the thread number,
> but fails because TLS is not available.

I think this should have an accompanying testcase.  Can you cook one up?

It's likely that gdbserver will need fixing as well.  (gdbserver/thread-db.c).


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