aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2015-07-07 16:58:19 +0100
committerYao Qi <yao.qi@linaro.org>2015-07-07 16:58:19 +0100
commitfbd8d50de232dcc7efa5ac4531adb72af2439977 (patch)
tree249e52fa575a4e0ca5c0160f2980d64b7c76bfc6 /gdb/testsuite/gdb.base
parent71be1fdc3655a170f4b14d795e5c9e81fcea06ef (diff)
downloadbinutils-fbd8d50de232dcc7efa5ac4531adb72af2439977.zip
binutils-fbd8d50de232dcc7efa5ac4531adb72af2439977.tar.gz
binutils-fbd8d50de232dcc7efa5ac4531adb72af2439977.tar.bz2
Enable multi-arch test in catch-syscall.exp on aarch64
This patch is to enable test_catch_syscall_multi_arch on aarch64. gdb/testsuite: 2015-07-07 Yao Qi <yao.qi@linaro.org> * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/catch-syscall.exp7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp
index df0004a..40ca148 100644
--- a/gdb/testsuite/gdb.base/catch-syscall.exp
+++ b/gdb/testsuite/gdb.base/catch-syscall.exp
@@ -403,8 +403,11 @@ proc test_catch_syscall_multi_arch {} {
verbose "Not testing ARM for multi-arch syscall support"
return
} elseif { [istarget "aarch64*-linux*"] } {
- verbose "Not testing AARCH64 for multi-arch syscall support"
- return
+ set arch1 "aarch64"
+ set arch2 "arm"
+ set syscall1_name "reboot"
+ set syscall2_name "_newselect"
+ set syscall_number 142
} elseif { [istarget "s390*-linux*"] } {
set arch1 "s390:31-bit"
set arch2 "s390:64-bit"