This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

src/gdb/testsuite ChangeLog gdb.threads/tls-no ...


CVSROOT:	/cvs/src
Module name:	src
Changes by:	willnewton@sourceware.org	2013-07-18 15:49:22

Modified files:
	gdb/testsuite  : ChangeLog 
	gdb/testsuite/gdb.threads: tls-nodebug.c tls-shared.c 
	                           tls-var-main.c 

Log message:
	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.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.3734&r2=1.3735
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.threads/tls-nodebug.c.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.threads/tls-shared.c.diff?cvsroot=src&r1=1.1&r2=1.2
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.threads/tls-var-main.c.diff?cvsroot=src&r1=1.3&r2=1.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]