testsuite, threads: fix LD_LIBRARY_PATH in 'tls-sepdebug.exp'
commit7d5702b8fdee17a5b4597b2b03c93e97d5b4c136
authorRohr, Stephan <stephan.rohr@intel.com>
Mon, 29 Jan 2024 15:05:40 +0000 (29 07:05 -0800)
committerStephan Rohr <stephan.rohr@intel.com>
Tue, 24 Sep 2024 06:59:48 +0000 (23 23:59 -0700)
tree47eab0c6912f6e8c05b8f3129c79853d6a2a27d9
parent909fcd9bc8f7ddff92b284c58c50391ae7ea1fc2
testsuite, threads: fix LD_LIBRARY_PATH in 'tls-sepdebug.exp'

Some compilers (e.g. the Intel compiler) may dynamically link against
dependencies.  The test uses the 'set env' command to set the
LD_LIBRARY_PATH to a test specific value.  Update the 'set env' command
to also provide the users LD_LIBARY_PATH to gdb.

Approved-By: Tom Tromey <tom@tromey.com>
gdb/testsuite/gdb.threads/tls-sepdebug.exp