From 99fd02d9fc9d6cc470d3b81c4cc3439b47bb9419 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Tue, 1 Dec 2015 12:37:04 +0000 Subject: Run gdb.base/disp-step-syscall.exp for aarch64-linux This patch handles target aarch64*-*-linux* for syscall instruction. gdb/testsuite: 2015-12-01 Yao Qi * gdb.base/disp-step-syscall.exp: Define syscall instruction for aarch64*-*-linux* target. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/disp-step-syscall.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 197b226..7321208 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-12-01 Yao Qi + + * gdb.base/disp-step-syscall.exp: Define syscall instruction + for aarch64*-*-linux* target. + 2015-11-30 Pedro Alves * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls. diff --git a/gdb/testsuite/gdb.base/disp-step-syscall.exp b/gdb/testsuite/gdb.base/disp-step-syscall.exp index ec3fccc..a49f838 100644 --- a/gdb/testsuite/gdb.base/disp-step-syscall.exp +++ b/gdb/testsuite/gdb.base/disp-step-syscall.exp @@ -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 -- cgit v1.1