[PATCH 06/11] Enable multi-arch test in catch-syscall.exp on aarch64

Yao Qi
2015-07-01T13:58:51Z

This patch is to enable test_catch_syscall_multi_arch on aarch64.

gdb/testsuite:

2015-06-19 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.
---
gdb/testsuite/gdb.base/catch-syscall.exp | 7 +++++--
1 file 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"
--
1.9.1