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

Unified Diff: gdb/testsuite/gdb.threads/tls-nodebug.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.threads/tls.exp ('k') | gdb/testsuite/gdb.threads/tls-nodebug.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.threads/tls-nodebug.c
diff --git a/gdb/testsuite/gdb.threads/tls-nodebug.c b/gdb/testsuite/gdb.threads/tls-nodebug.c
index 73d96f0f3cdc15c9dd012533b457f71e4b031cdd..d3b31b7609c717cd1aaeb2f1576cfbe5e5551748 100644
--- a/gdb/testsuite/gdb.threads/tls-nodebug.c
+++ b/gdb/testsuite/gdb.threads/tls-nodebug.c
@@ -6,5 +6,7 @@ __thread int thread_local = 42;
int main(void)
{
+ /* Ensure we link against pthreads even with --as-needed. */
+ pthread_testcancel();
return 0;
}
« no previous file with comments | « gdb/testsuite/gdb.threads/tls.exp ('k') | gdb/testsuite/gdb.threads/tls-nodebug.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698