]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/testsuite/ChangeLog
Add test for fetching TLS from core file
authorDjordje Todorovic <djordje.todorovic@rt-rk.com>
Wed, 8 Nov 2017 21:19:05 +0000 (21:19 +0000)
committerMaciej W. Rozycki <macro@mips.com>
Wed, 8 Nov 2017 21:19:05 +0000 (21:19 +0000)
commit280ca31f4d608082e1b61cd0b6d90fdc3450b9f3
tree81c232823c051d131188884e8d29c90018127aa3
parentc9ec0e8945d057979a361e3545d42b3f15adf04a
Add test for fetching TLS from core file

A correct PID is needed by `libthread_db' library supplied with
glibc repository revisions before commit c579f48edba8 ("Remove
cached PID/TID in clone") or versions before 2.25 release for
GDB to fetch value of TLS variable from core file.  On MIPS
platforms it was omitted and fetching value of TLS variable was not
available.

This adds a new test in order to be sure if GDB on native platforms
can successfully fetch value of TLS variable.

gdb/testsuite:

* gdb.threads/tls-core.c: New file.
* gdb.threads/tls-core.exp: Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.threads/tls-core.c [new file with mode: 0644]
gdb/testsuite/gdb.threads/tls-core.exp [new file with mode: 0644]