forked from Imagelibrary/binutils-gdb
2003-07-22 Elena Zannoni <ezannoni@redhat.com>
* 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.
This commit is contained in:
6
gdb/testsuite/gdb.threads/tls-shared.c
Normal file
6
gdb/testsuite/gdb.threads/tls-shared.c
Normal file
@@ -0,0 +1,6 @@
|
||||
__thread int i_tls = 1;
|
||||
int foo ()
|
||||
{
|
||||
return i_tls;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user