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.
This commit is contained in:
Andreas Arnez 2015-03-04 10:40:40 +01:00 committed by Andreas Krebbel
parent d851a69aa2
commit 6d74a497ba
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
* gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
the 'arch1' variable for "s390*-linux*" targets.
2015-03-04 Pedro Alves <palves@redhat.com>
* gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.

View File

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