Enable multi-arch test in catch-syscall.exp on aarch64
authorYao Qi <yao.qi@linaro.org>
Tue, 7 Jul 2015 15:58:19 +0000 (16:58 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 7 Jul 2015 15:58:19 +0000 (16:58 +0100)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/catch-syscall.exp

index a65809052eb6686b7a061fb1039fef55deb3e537..6009cdbe76cce2e15311904331727e1407da9ef3 100644 (file)
@@ -1,3 +1,8 @@
+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
index df0004a2d3ccfdeda7641e347c84d38d324821f5..40ca148c73663ec3fb2723b83a86de528462ae1d 100644 (file)
@@ -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"