From: Jan Kratochvil Date: Tue, 15 Jan 2013 15:11:09 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22fc223eb85a55597e35a0e8acd831ff661d2723;p=binutils-gdb.git gdb/testsuite/ * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 17da37af873..d34f7c0e2f7 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-01-15 Jan Kratochvil + + * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets. + 2013-01-14 Tom Tromey * gdb.base/completion.exp: Add "set gnutarget" test. diff --git a/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp b/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp index e6f3fe88e4f..fe8683e1930 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-restrict.exp @@ -20,6 +20,11 @@ if {![dwarf2_support]} { return 0 } +# This test can only be run on x86-64 targets. +if {![istarget x86_64-*] || ![is_lp64_target]} { + return 0 +} + standard_testfile .S if {[prepare_for_testing $testfile.exp $testfile $srcfile {nodebug}]} {