Run gdb.base/disp-step-syscall.exp for aarch64-linux
authorYao Qi <yao.qi@linaro.org>
Tue, 1 Dec 2015 12:37:04 +0000 (12:37 +0000)
committerYao Qi <yao.qi@linaro.org>
Tue, 1 Dec 2015 12:37:04 +0000 (12:37 +0000)
This patch handles target aarch64*-*-linux* for syscall instruction.

gdb/testsuite:

2015-12-01  Yao Qi  <yao.qi@linaro.org>

* gdb.base/disp-step-syscall.exp: Define syscall instruction
for aarch64*-*-linux* target.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/disp-step-syscall.exp

index 197b22688871303181ee03c955fe0b934fbfbf10..7321208352cc00b8dd3da6050f976a9254685397 100644 (file)
@@ -1,3 +1,8 @@
+2015-12-01  Yao Qi  <yao.qi@linaro.org>
+
+       * gdb.base/disp-step-syscall.exp: Define syscall instruction
+       for aarch64*-*-linux* target.
+
 2015-11-30  Pedro Alves  <palves@redhat.com>
 
        * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
index ec3fccc2ffc932d149a44f20698b0de7aa30fea3..a49f838ac3e09d8b4fd8a95724beee523b681293 100644 (file)
@@ -26,7 +26,7 @@ set syscall_insn ""
 
 if { [istarget "i\[34567\]86-*-linux*"] || [istarget "x86_64-*-linux*"] } {
     set syscall_insn "\[ \t\](int|syscall|sysenter)\[ \t\]"
-} elseif [is_aarch32_target] {
+} elseif { [istarget "aarch64*-*-linux*"] || [istarget "arm*-*-linux*"] } {
     set syscall_insn "\[ \t\](swi|svc)\[ \t\]"
 } else {
     return -1