tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ptrace(2) interface for TLSBASE
> On Dec 4, 2019, at 8:47 AM, Kamil Rytarowski <n54%gmx.com@localhost> wrote:
>
> Today it's missing.. do we need it in core files?
Seems like you would absolutely need it in core files, otherwise the debugger won't know what it is when performing a post-mortem.
If we add a ptrace accessor a'la Linux, then it fits nicely into the existing model we have for ELF core files:
* We also use ptrace(2) request numbers (the ones that exist in
* machine-dependent space) to identify register info notes. The
* info in such notes is in the same format that ptrace(2) would
* export that information.
-- thorpej
Home |
Main Index |
Thread Index |
Old Index