Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/517
Project:Branches: opticron/rtems:brmain-add-tls-debug-support to rtems/rtos/rtems:main Author: Kinsey Moore Assignee: Kinsey Moore ## 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. This has been tested on AArch64 libdebugger, but requires a modified GDB to even issue the query as far as I could get things to work. I'll be adding a patch to GDB in the near-term to enable this functionality and longer term we'd need to setup proper profiles in GDB for RTEMS so that this support is available. <!-- 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/517 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
