Re: TLS info and core files?

2007-03-27 Thread Andi Kleen
Tom Horsley <[EMAIL PROTECTED]> writes: > > Should core files have NOTE entries added for some sort of > thread local storage info to be recorded? (Whatever the > kernel happens to know that won't be accessible anymore > after the process is gone, which would probably vary > from architecture to

TLS info and core files?

2007-03-27 Thread Tom Horsley
As a debugger developer, I find it quite handy when debugging a real process to use the PTRACE_GET_THREAD_AREA or PTRACE_GET_ARCH_PRCTL calls to dig up pthread IDs without having to know too much about the internals of the pthread library. (It would be even handier if the info was more consistent

TLS info and core files?

2007-03-27 Thread Tom Horsley
As a debugger developer, I find it quite handy when debugging a real process to use the PTRACE_GET_THREAD_AREA or PTRACE_GET_ARCH_PRCTL calls to dig up pthread IDs without having to know too much about the internals of the pthread library. (It would be even handier if the info was more consistent

Re: TLS info and core files?

2007-03-27 Thread Andi Kleen
Tom Horsley [EMAIL PROTECTED] writes: Should core files have NOTE entries added for some sort of thread local storage info to be recorded? (Whatever the kernel happens to know that won't be accessible anymore after the process is gone, which would probably vary from architecture to