URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [tags/] [gnu-src/] [gdb-7.2/] [gdb-7.2-or32-1.0rc3/] [gdb/] [testsuite/] [gdb.threads/] [tls-main.c] - Rev 513
Compare with Previous | Blame | View Log
__thread int i_tls = 2; int main () { int result; result = foo (); /* Call to foo should return 2, not 1. */ result ++; return 0; /* break here to check result */ }