]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.threads/staticthreads.exp
gdb/testsuite: Remove duplicates from gdb.threads/staticthreads.ex
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.threads / staticthreads.exp
index cc4867dd459a273e3919c5997b8aca7bcf94357f..788fb53b21b38078df0914b9f60f8cff90a497bb 100644 (file)
@@ -22,7 +22,7 @@
 standard_testfile
 set static_flag "-static"
 
-foreach have_tls { "-DHAVE_TLS" "" } {
+foreach_with_prefix have_tls { "-DHAVE_TLS" "" } {
     if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
             executable \
             [list debug "additional_flags=${static_flag} ${have_tls}" \