diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-07-07 16:58:19 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-07-07 16:58:19 +0100 |
commit | fbd8d50de232dcc7efa5ac4531adb72af2439977 (patch) | |
tree | 249e52fa575a4e0ca5c0160f2980d64b7c76bfc6 | |
parent | 71be1fdc3655a170f4b14d795e5c9e81fcea06ef (diff) | |
download | gdb-fbd8d50de232dcc7efa5ac4531adb72af2439977.zip gdb-fbd8d50de232dcc7efa5ac4531adb72af2439977.tar.gz gdb-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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/catch-syscall.exp | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a658090..6009cdb 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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. + +2015-07-07 Yao Qi <yao.qi@linaro.org> + * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET} if it exists. 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" |