diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-01-15 15:11:09 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2013-01-15 15:11:09 +0000 |
commit | 22fc223eb85a55597e35a0e8acd831ff661d2723 (patch) | |
tree | 08d382440dc9cfe6e5245d4405e3a5d9bf1620e1 /gdb | |
parent | cb566e3aa895881045a4bd1fbcb5154637fb9ded (diff) | |
download | gdb-22fc223eb85a55597e35a0e8acd831ff661d2723.zip gdb-22fc223eb85a55597e35a0e8acd831ff661d2723.tar.gz gdb-22fc223eb85a55597e35a0e8acd831ff661d2723.tar.bz2 |
gdb/testsuite/
* gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/dw2-restrict.exp | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 17da37a..d34f7c0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2013-01-15 Jan Kratochvil <jan.kratochvil@redhat.com> + + * gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets. + 2013-01-14 Tom Tromey <tromey@redhat.com> * 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 e6f3fe8..fe8683e 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}]} { |