aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.threads/current-lwp-dead.exp5
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 44d1c0b..1aa557f 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-11 Mark Kettenis <kettenis@gnu.org>
+
+ * gdb.threads/current-lwp-dead.exp: Only run this on Linux.
+
2009-09-10 Doug Evans <dje@google.com>
* gdb.base/breakpoint-shadow.exp: Fix intermittent failures.
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
}