This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Getting offset of inital-exec TLS variables on GNU/Linux
- From: Florian Weimer <fweimer at redhat dot com>
- To: gdb at sourceware dot org
- Date: Fri, 17 May 2019 12:21:31 +0200
- Subject: Getting offset of inital-exec TLS variables on GNU/Linux
Is it possible to obtain the offset of initial-exec TLS variable on
GNU/Linux?
It doesn't seem so because GDB executes the DWARF to access the TLS
variable, so the offset is an implementation detail. Although it is
often visible at the ELF layer.
Thanks,
Florian