catch-syscall.exp: Fix missing architecture name for s390:31-bit
authorAndreas Arnez <arnez@linux.vnet.ibm.com>
Wed, 4 Mar 2015 09:40:40 +0000 (10:40 +0100)
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Wed, 4 Mar 2015 09:40:40 +0000 (10:40 +0100)
For the "multiple targets" test in catch-syscall.exp, set the 'arch1'
variable to a valid string.

gdb/testsuite/ChangeLog:

* gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
the 'arch1' variable for "s390*-linux*" targets.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/catch-syscall.exp

index eb1b9ea3d3d814f9bef8f4f54a6f16f3a188ed5a..159414ee425d5761d4c5f5a385247d38ee3c1973 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
+       the 'arch1' variable for "s390*-linux*" targets.
+
 2015-03-04  Pedro Alves  <palves@redhat.com>
 
        * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
index 8f9dec3006b23301df33a9bbae7c5bf26211364b..498ae36124dc0334da50bf5bedebfb2b267fc3dd 100644 (file)
@@ -403,7 +403,7 @@ proc test_catch_syscall_multi_arch {} {
        verbose "Not testing ARM for multi-arch syscall support"
        return
     } elseif { [istarget "s390*-linux*"] } {
-       set arch1 ""
+       set arch1 "s390:31-bit"
        set arch2 "s390:64-bit"
        set syscall1_name "_newselect"
        set syscall2_name "select"