From fbd8d50de232dcc7efa5ac4531adb72af2439977 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Tue, 7 Jul 2015 16:58:19 +0100 Subject: [PATCH] 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 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set arch1, arch2, syscall1_name, syscall2_name and syscall_number. --- gdb/testsuite/ChangeLog | 5 +++++ 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 a65809052eb..6009cdbe76c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-07-07 Yao Qi + + * 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 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp index df0004a2d3c..40ca148c736 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" -- 2.30.2