aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndreas Arnez <arnez@linux.vnet.ibm.com>2015-03-04 10:40:40 +0100
committerAndreas Krebbel <krebbel@linux.vnet.ibm.com>2015-03-04 10:40:40 +0100
commit6d74a497ba4fc2ba67142310a9fad42e035ac9a7 (patch)
treef608d66cb6c0471d1839ba455fac40a8408b042e /gdb
parentd851a69aa2b4b6868c07386fd795521a0e93a09a (diff)
downloadgdb-6d74a497ba4fc2ba67142310a9fad42e035ac9a7.zip
gdb-6d74a497ba4fc2ba67142310a9fad42e035ac9a7.tar.gz
gdb-6d74a497ba4fc2ba67142310a9fad42e035ac9a7.tar.bz2
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/catch-syscall.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index eb1b9ea..159414e 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
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"