Re: [PATCH -mm 42/43] x86 core dump TLS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Tom Horsley
Date: Wednesday, October 20, 2010 - 7:31 am

Way back in 2007 this patch started wending its way into the
kernel:

http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg242889.html

That adds the NT_386_TLS NOTE segment entries to core files, which
are quite handy for recovering the pthread_self() values for
multiple threads in a core file from a 32 bit x86 threaded program.

Does anyone know why there doesn't appear to be any similar info
dumped for the thread info in 64 bit x86_64 threaded programs?
The pthread library uses the arch_prctl() service to setup the
segment registers there, and it would be handy for debuggers
to be able to recover the thread info in 64 bit core files as well.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH -mm 42/43] x86 core dump TLS, Tom Horsley, (Wed Oct 20, 7:31 am)