RTEMS | cpukit/libdebugger: Add support for TLS variables (!518)
Kinsey Moore (@opticron)
gitlab at rtems.org
Tue Jun 17 19:19:44 UTC 2025
Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/518
Project:Branches: opticron/rtems:br6-add-tls-debug-support to rtems/rtos/rtems:6
Author: Kinsey Moore
Assignee: Kinsey Moore
Reviewer: Chris Johns
## Summary
cpukit/libdebugger: Add support for TLS variables
This adds support for the "vGetTLSAddr" GDB query which retrieves the
address of a TLS variable by offset from the beginning of the TLS memory
space for the given thread. This offset does not include the size of the
thread control block which is at the beginning of every TLS area as used
by RTEMS. Notably, the returned address is big-endian rather than the
little-endian typical with other responses.
This functionality does not include retrieval of addresses for TLS
variables hosted in loadable modules, only TLS variables in the host
binary.
Closes #5271
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/518
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250617/01b971c4/attachment.htm>
More information about the bugs
mailing list