gdb: Don't ignore all SIGSTOP when the signal handler is set to pass
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / tls-nodebug.c
CommitLineData
9e35dae4
DJ
1/* Test accessing TLS based variable without any debug info compiled. */
2
3#include <pthread.h>
4
5__thread int thread_local = 42;
6
7int main(void)
8{
623cc285
WN
9 /* Ensure we link against pthreads even with --as-needed. */
10 pthread_testcancel();
9e35dae4
DJ
11 return 0;
12}
This page took 1.784667 seconds and 4 git commands to generate.