From e23bb3fc8406336ae8bbfe860ef06d4685ba96eb Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 11 Sep 2009 14:07:37 +0000 Subject: [PATCH] * gdb.threads/current-lwp-dead.exp: Only run this on Linux. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.threads/current-lwp-dead.exp | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 44d1c0bd935..1aa557fd488 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2009-09-11 Mark Kettenis + + * gdb.threads/current-lwp-dead.exp: Only run this on Linux. + 2009-09-10 Doug Evans * 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 bb175cd6a3e..14b335d88d2 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 } -- 2.30.2