diff mbox

catch-syscall.exp: Fix missing architecture name for s390:31-bit

Message ID 87fv9mxpcd.fsf@br87z6lw.de.ibm.com
State New
Headers show

Commit Message

Andreas Arnez March 3, 2015, noon UTC
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"

* "S390: Fix syscall list for s390x"


	* 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(-)
diff mbox


diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp
index 8f9dec3..498ae36 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"
     } elseif { [istarget "s390*-linux*"] } {
-	set arch1 ""
+	set arch1 "s390:31-bit"
 	set arch2 "s390:64-bit"
 	set syscall1_name "_newselect"
 	set syscall2_name "select"