[RFC 0/6] Demangle minimal symbol names in worker threads

Eli Zaretskii eliz@gnu.org
Sat Mar 16 07:52:00 GMT 2019


> From: Tom Tromey <tom@tromey.com>
> Cc: tom@tromey.com,  gdb-patches@sourceware.org
> Date: Fri, 15 Mar 2019 17:40:54 -0600
> 
> Could you see if thread-locals work?
> A simple program like:
> 
>     thread_local int x;
> 
> ... should be enough to check, though maybe adding a main() and making
> sure it could link would also be good.

Yes, the simple program below compiles, runs, and returns zero status.

thread_local int x;

int main (void)
{
  return x;
}



More information about the Gdb-patches mailing list