aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}