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

Patch

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"
 	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"