Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: gdb/testsuite/gdb.threads/tls-shared.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.threads/tls-nodebug.exp ('k') | gdb/testsuite/gdb.threads/tls-shared.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1
2 #include <pthread.h>
3
1 __thread int i_tls = 1; 4 __thread int i_tls = 1;
2 int foo () 5 int foo ()
3 { 6 {
7 /* Ensure we link against pthreads even with --as-needed. */
8 pthread_testcancel();
4 return i_tls; 9 return i_tls;
5 } 10 }
6 11
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.threads/tls-nodebug.exp ('k') | gdb/testsuite/gdb.threads/tls-shared.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698