Re: TLS info and core files?

From: Andi Kleen
Date: Tue Mar 27 2007 - 13:41:22 EST


Tom Horsley <tom.horsley@xxxxxxxx> 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 architecture.)

I think that would be a good idea. Shouldn't be very hard
to implement. Please send a patch.

We also miss some other information in core files
I found useful in the past, like the CR3 and some other registers.
The printks on x86-64 actually give more information
than a core dump in some cases.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/