forked from Imagelibrary/rtems
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