]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
New test - gdb.base/tls-multiobj.exp
authorKevin Buettner <kevinb@redhat.com>
Thu, 24 Apr 2025 04:39:29 +0000 (21:39 -0700)
committerKevin Buettner <kevinb@redhat.com>
Thu, 24 Apr 2025 16:54:43 +0000 (09:54 -0700)
commitb0789fb6c2f95c56890c2858d7360771cdf153e7
treeda480770cd9416935d5795cf1218ffe2c20ed19a
parentde893f31c1a594d622d32bc19b9b30daea5db96b
New test - gdb.base/tls-multiobj.exp

This test exercises GDB's internal TLS support when both the main
program and several shared libraries have TLS variables.  It also
tests existing (non-internal) TLS support too.

It tests using two compilation scenarios, "default", in which
libpthread is not linked with the program and libraries as well
as one which does use libpthread.

It tests link map address to module id mapping code in GDB
in addition to the ability of GDB to traverse TLS data structures
with several libraries in play.

Tested-By: Luis Machado <luis.machado@arm.com>
Approved-By: Luis Machado <luis.machado@arm.com>
gdb/testsuite/gdb.base/tls-multiobj.c [new file with mode: 0644]
gdb/testsuite/gdb.base/tls-multiobj.exp [new file with mode: 0644]
gdb/testsuite/gdb.base/tls-multiobj1.c [new file with mode: 0644]
gdb/testsuite/gdb.base/tls-multiobj2.c [new file with mode: 0644]
gdb/testsuite/gdb.base/tls-multiobj3.c [new file with mode: 0644]