* Jan Kratochvil:
> On Tue, 14 May 2019 13:38:57 +0200, Florian Weimer via lldb-dev wrote:
>> The target process has loaded libpthread.so.0, so it's not the usual
>> problem of libthread_db not working without libpthread.
>>
>> On the other hand, I realize now that the lldb command cannot access
On Tue, 14 May 2019 13:38:57 +0200, Florian Weimer via lldb-dev wrote:
> The target process has loaded libpthread.so.0, so it's not the usual
> problem of libthread_db not working without libpthread.
>
> On the other hand, I realize now that the lldb command cannot access TLS
> variables, either.
I'm trying to access thread-local variables using the API on GNU/Linux.
Here's my test program:
#include
#include
#include
#include
#include
#include
thread_local int global_tls_variable
__attribute__ ((tls_model ("initial-exec")))= 17;
int
main(void)
{
// Target process for the debug