* gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / tls.exp
index 3a2b7fe886bddfe1f047bb1736e006f684c7cbad..53376264e510ab8666a5e0b8fef0f62c86cbdcf7 100644 (file)
@@ -172,6 +172,12 @@ gdb_test "b [gdb_get_line_number "before exit"]" \
 
 send_gdb "continue\n"
 gdb_expect {
+    -re ".*Program received signal SIGSEGV.*a_thread_local = 0;.*$gdb_prompt $" {
+        # This is the first symptom if the gcc and binutils versions
+        # in use support TLS, but the system glibc does not.
+        unsupported "continue to first thread: system does not support TLS"
+        return -1
+    }
     -re ".*Program exited normally.*$gdb_prompt $" {
         fail "continue to first thread: program runaway"
     }
This page took 0.023553 seconds and 4 git commands to generate.