binutils-gdb/gdb/testsuite/gdb.threads
Will Newton 623cc28540 gdb/testsuite/gdb.threads: Ensure TLS tests link against pthreads.
On Ubuntu by default the compiler passes --as-needed to ld which
means no DT_NEEDED entry is added for libpthread when building
the TLS tests. This causes the test to fail as libpthread is
required to look up TLS variables. Add calls to pthread_testcancel
to make sure libpthread gets linked.

gdb/testsuite/ChangeLog:

2013-07-18  Will Newton  <will.newton@linaro.org>

	* gdb.threads/tls-nodebug.c: Call pthread_testcancel
	to ensure the test is linked against pthreads.
	* gdb.threads/tls-var-main.c: Likewise.
	* gdb.threads/tls-shared.c: Likewise.
2013-07-18 15:49:22 +00:00
..
Makefile.in
attach-into-signal.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
attach-into-signal.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
attach-stopped.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
attach-stopped.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
bp_in_thread.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
bp_in_thread.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
clone-new-thread-event.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
clone-new-thread-event.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
corethreads.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
corethreads.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
create-fail.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
create-fail.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
current-lwp-dead.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
current-lwp-dead.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
dlopen-libpthread-lib.c 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com> 2013-06-04 13:23:32 +00:00
dlopen-libpthread.c 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com> 2013-06-04 13:23:32 +00:00
dlopen-libpthread.exp 2013-06-04 Jan Kratochvil <jan.kratochvil@redhat.com> 2013-06-04 13:23:32 +00:00
execl.c Fix formating in copyright headers. 2013-06-07 14:39:33 +00:00
execl.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
execl1.c Fix formating in copyright headers. 2013-06-07 14:39:33 +00:00
fork-child-threads.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
fork-child-threads.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
fork-thread-pending.c gdb/testsuite/ 2013-02-27 18:48:23 +00:00
fork-thread-pending.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
gcore-thread.exp * lib/gdb.exp (gdb_core_cmd): New function. 2013-05-06 22:11:16 +00:00
hand-call-in-threads.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
hand-call-in-threads.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
ia64-sigill.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
ia64-sigill.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
interrupted-hand-call.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
interrupted-hand-call.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
killed.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
killed.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
leader-exit.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
leader-exit.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
linux-dp.c
linux-dp.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
local-watch-wrong-thread.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
local-watch-wrong-thread.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
manythreads.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
manythreads.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
multi-create.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
multi-create.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
no-unwaited-for-left.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
no-unwaited-for-left.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
non-ldr-exc-1.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
non-ldr-exc-1.exp gdb/testsuite/ 2013-03-15 01:41:29 +00:00
non-ldr-exc-2.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
non-ldr-exc-2.exp gdb/testsuite/ 2013-03-15 01:41:29 +00:00
non-ldr-exc-3.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
non-ldr-exc-3.exp gdb/testsuite/ 2013-03-15 01:41:29 +00:00
non-ldr-exc-4.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
non-ldr-exc-4.exp gdb/testsuite/ 2013-03-15 01:41:29 +00:00
pending-step.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
pending-step.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
print-threads.c
print-threads.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
pthread_cond_wait.c gdb/testsuite/ 2013-02-14 15:24:11 +00:00
pthread_cond_wait.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
pthreads.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
pthreads.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
schedlock.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
schedlock.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
siginfo-threads.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
siginfo-threads.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
sigstep-threads.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
sigstep-threads.exp gdb/testsuite/ 2013-03-14 13:34:06 +00:00
sigthread.c
sigthread.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
staticthreads.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
staticthreads.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
switch-threads.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
switch-threads.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
thread-execl.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
thread-execl.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
thread-find.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
thread-specific.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
thread-specific.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
thread-unwindonsignal.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
thread_check.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
thread_check.exp gdb/testsuite/ 2013-03-14 13:34:06 +00:00
thread_events.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
thread_events.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
threadapply.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
threadapply.exp 2013-07-15 Ali Anwar <ali_anwar@codesourcery.com> 2013-07-15 11:14:32 +00:00
threxit-hop-specific.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
threxit-hop-specific.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
tls-main.c
tls-nodebug.c gdb/testsuite/gdb.threads: Ensure TLS tests link against pthreads. 2013-07-18 15:49:22 +00:00
tls-nodebug.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
tls-shared.c gdb/testsuite/gdb.threads: Ensure TLS tests link against pthreads. 2013-07-18 15:49:22 +00:00
tls-shared.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
tls-var-main.c gdb/testsuite/gdb.threads: Ensure TLS tests link against pthreads. 2013-07-18 15:49:22 +00:00
tls-var.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
tls-var.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
tls.c
tls.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
tls2.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
watchpoint-fork-child.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
watchpoint-fork-mt.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
watchpoint-fork-parent.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
watchpoint-fork-st.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
watchpoint-fork.exp gdb/testsuite/ 2013-03-15 01:41:29 +00:00
watchpoint-fork.h Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
watchthreads-reorder.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
watchthreads-reorder.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
watchthreads.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
watchthreads.exp Remove superfluous semicolons from testsuite throughout. 2013-06-07 17:31:09 +00:00
watchthreads2.c Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
watchthreads2.exp Update years in copyright notice for the GDB files. 2013-01-01 06:41:43 +00:00
wp-replication.c * gdb.threads/wp-replication.c (main): Insert some code at the start 2013-05-22 16:30:24 +00:00
wp-replication.exp 2013-07-08 Andreas Arnez <arnez@linux.vnet.ibm.com> 2013-07-08 11:35:49 +00:00