This is the mail archive of the gdb-cvs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Run gdb.base/disp-step-syscall.exp for aarch64-linux


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=99fd02d9fc9d6cc470d3b81c4cc3439b47bb9419

commit 99fd02d9fc9d6cc470d3b81c4cc3439b47bb9419
Author: Yao Qi <yao.qi@linaro.org>
Date:   Tue Dec 1 12:37:04 2015 +0000

    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.

Diff:
---
 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  <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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]