aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads/tls.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-07-28 00:57:29 +0000
committerDaniel Jacobowitz <drow@false.org>2003-07-28 00:57:29 +0000
commit4ee6625b5326ffb404d88b0befc9d8e4633024ed (patch)
tree11409643a2f988955982fde9834a3fd28684adfc /gdb/testsuite/gdb.threads/tls.exp
parent0473009e8b0502e172e613b70122bd5c7564378e (diff)
downloadgdb-4ee6625b5326ffb404d88b0befc9d8e4633024ed.zip
gdb-4ee6625b5326ffb404d88b0befc9d8e4633024ed.tar.gz
gdb-4ee6625b5326ffb404d88b0befc9d8e4633024ed.tar.bz2
* gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
pattern. * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file. * gdb.threads/tls.exp: Recognize one case of the host library not supporting TLS.
Diffstat (limited to 'gdb/testsuite/gdb.threads/tls.exp')
-rw-r--r--gdb/testsuite/gdb.threads/tls.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/tls.exp b/gdb/testsuite/gdb.threads/tls.exp
index 3a2b7fe..5337626 100644
--- a/gdb/testsuite/gdb.threads/tls.exp
+++ b/gdb/testsuite/gdb.threads/tls.exp
@@ -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"
}