From 6d74a497ba4fc2ba67142310a9fad42e035ac9a7 Mon Sep 17 00:00:00 2001 From: Andreas Arnez Date: Wed, 4 Mar 2015 10:40:40 +0100 Subject: [PATCH] catch-syscall.exp: Fix missing architecture name for s390:31-bit 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 | 5 +++++ gdb/testsuite/gdb.base/catch-syscall.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index eb1b9ea3d3d..159414ee425 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-03-04 Andreas Arnez + + * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set + the 'arch1' variable for "s390*-linux*" targets. + 2015-03-04 Pedro Alves * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h. diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp index 8f9dec3006b..498ae36124d 100644 --- a/gdb/testsuite/gdb.base/catch-syscall.exp +++ b/gdb/testsuite/gdb.base/catch-syscall.exp @@ -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" -- 2.30.2