From 22fc223eb85a55597e35a0e8acd831ff661d2723 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Tue, 15 Jan 2013 15:11:09 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.dwarf2/dw2-restrict.exp | 5 +++++ 2 files changed, 9 insertions(+) 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}]} { -- 2.30.2