[Bug translator/14013] Access to user space thread local variables (errno)

fche at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jul 15 16:17:36 GMT 2020


https://sourceware.org/bugzilla/show_bug.cgi?id=14013

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|systemtap at sourceware dot org    |scox at redhat dot com

--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> ---
stap 4.3+ translate TLS operation dwarf location-expressions into calls to an
as-yet unimplemented tapset function __push_tls_address().  Let's start
implementing it, to mirror libthread_db's tls lookup entry points that gdb
uses:
td_thr_tls_get_addr / td_thr_tlsbase.  The tapset function would have to
traverse the ld.so data structures (via @cast / maybe a snapshot of glibc's
internal version of thread_db.h).

See also: https://infinitynotes.org/wiki/Glibc
https://akkadia.org/drepper/tls.pdf

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list