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 17da37a..d34f7c0 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 e6f3fe8..fe8683e 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}]} {