From: Mark Kettenis Date: Fri, 11 Sep 2009 14:07:37 +0000 (+0000) Subject: * gdb.threads/current-lwp-dead.exp: Only run this on Linux. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e23bb3fc8406336ae8bbfe860ef06d4685ba96eb;p=binutils-gdb.git * gdb.threads/current-lwp-dead.exp: Only run this on Linux. --- 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 }