Format: ‘qGetTLSAddr:thread-id,offset,lm’
Meaning: Fetch the address associated with thread local storage specified by thread-id, offset, and lm.
thread-id is the thread ID associated with the thread for which to fetch the TLS address. See thread-id syntax.
offset is the (big endian, hex encoded) offset associated with the thread local variable. (This offset is obtained from the debug information associated with the variable.)
lm is the (big endian, hex encoded) OS/ABI-specific encoding of the load module associated with the thread local storage. For example, a GNU/Linux system will pass the link map address of the shared object associated with the thread local storage under consideration. Other operating environments may choose to represent the load module differently, so the precise meaning of this parameter will vary.
Reply:
XX…
Hex encoded (big endian) bytes representing the address of the thread local storage requested.