[PATCH] Fix debugging with destroyed TLS
Pedro Alves
pedro@palves.net
Fri Apr 15 09:50:00 GMT 2016
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).
More information about the Gdb-patches
mailing list