catch-syscall.exp: Fix missing architecture name for s390:31-bit
Commit Message
For the "multiple targets" test in catch-syscall.exp, set the 'arch1'
variable to a valid string.
Note that this test still fails unless the following patches are
applied as well:
* "S390: Place "s390:31-bit" after default arch in 64-bit arch list"
(https://sourceware.org/ml/binutils/2015-03/msg00013.html)
* "S390: Fix syscall list for s390x"
(https://sourceware.org/ml/gdb-patches/2015-03/msg00062.html)
gdb/testsuite/ChangeLog:
* gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
the 'arch1' variable for "s390*-linux*" targets.
---
gdb/testsuite/gdb.base/catch-syscall.exp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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"