diff options
author | Yao Qi <yao.qi@linaro.org> | 2015-12-01 12:37:04 +0000 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2015-12-01 12:37:04 +0000 |
commit | 99fd02d9fc9d6cc470d3b81c4cc3439b47bb9419 (patch) | |
tree | 868b17d3f0d092dbb2c06379b1fc87cb1a9cee19 /gdb/testsuite | |
parent | 3a8c4a5b428c1babd941606c2bbe9cf8a041d9d9 (diff) | |
download | gdb-99fd02d9fc9d6cc470d3b81c4cc3439b47bb9419.zip gdb-99fd02d9fc9d6cc470d3b81c4cc3439b47bb9419.tar.gz gdb-99fd02d9fc9d6cc470d3b81c4cc3439b47bb9419.tar.bz2 |
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 <yao.qi@linaro.org>
* gdb.base/disp-step-syscall.exp: Define syscall instruction
for aarch64*-*-linux* target.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/disp-step-syscall.exp | 2 |
2 files changed, 6 insertions, 1 deletions
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 <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. 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 |