8bc2021fdc
* gdb.threads/tls.c : New file. * gdb.threads/tls.exp : New file. * gdb.threads/tls-main.c : New file. * gdb.threads/tls-shared.c : New file. * gdb.threads/tls-shared.exp : New file.
7 lines
56 B
C
7 lines
56 B
C
__thread int i_tls = 1;
|
|
int foo ()
|
|
{
|
|
return i_tls;
|
|
}
|
|
|