diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/dw2-error.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-error.exp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-error.exp b/gdb/testsuite/gdb.dwarf2/dw2-error.exp index 65eac6d..b6cd205 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-error.exp +++ b/gdb/testsuite/gdb.dwarf2/dw2-error.exp @@ -22,6 +22,11 @@ if {![dwarf2_support]} { standard_testfile .S +if { ![istarget "x86_64-*-*"] || ![is_lp64_target] } { + verbose "Skipping $testfile.exp" + return +} + # We can't use prepare_for_testing here because we need to check the # 'file' command's output. if {[build_executable $testfile.exp $testfile $srcfile {nodebug}]} { |