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"
}