This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]