aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2009-09-11 14:07:37 +0000
committerMark Kettenis <kettenis@gnu.org>2009-09-11 14:07:37 +0000
commite23bb3fc8406336ae8bbfe860ef06d4685ba96eb (patch)
tree1e785fbc40c8a9776d4e63636f8c158673c13c43 /gdb/testsuite/gdb.threads
parent8b31b6c4c83c17810ff8ccdbf88c209ba354f2d5 (diff)
downloadgdb-e23bb3fc8406336ae8bbfe860ef06d4685ba96eb.zip
gdb-e23bb3fc8406336ae8bbfe860ef06d4685ba96eb.tar.gz
gdb-e23bb3fc8406336ae8bbfe860ef06d4685ba96eb.tar.bz2
* gdb.threads/current-lwp-dead.exp: Only run this on Linux.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/current-lwp-dead.exp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/current-lwp-dead.exp b/gdb/testsuite/gdb.threads/current-lwp-dead.exp
index bb175cd..14b335d 100644
--- a/gdb/testsuite/gdb.threads/current-lwp-dead.exp
+++ b/gdb/testsuite/gdb.threads/current-lwp-dead.exp
@@ -18,6 +18,11 @@
# Please email any bugs, comments, and/or additions to this file to:
# bug-gdb@gnu.org
+# This only works with on Linux targets.
+if ![istarget *-*-linux*] then {
+ return
+}
+
if { [prepare_for_testing current-lwp-dead.exp current-lwp-dead] } {
return -1
}