gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 15 Jan 2013 15:11:09 +0000 (15:11 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 15 Jan 2013 15:11:09 +0000 (15:11 +0000)
* gdb.dwarf2/dw2-restrict.exp: Skip compilation on non-x86_64 targets.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-restrict.exp

index 17da37af87345e4e16c87b803055e1078f949d89..d34f7c0e2f70512ce27e236dbe300c4f4ee24909 100644 (file)
@@ -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.
index e6f3fe88e4fd5935ee180e92003823f3a562d4bb..fe8683e19309eed3b6628d0b4426241ec34b1c9a 100644 (file)
@@ -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}]} {