From 34240514b58b7e8d2b444b69345d13db2695fef6 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Mon, 12 Oct 2015 11:28:38 +0100 Subject: [PATCH] Support displaced stepping in support_displaced_stepping for aarch64*-*-linux* gdb/testsuite: 2015-10-12 Yao Qi * lib/gdb.exp (support_displaced_stepping): Return 1 if target is aarch64*-*-linux*. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/lib/gdb.exp | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index afde9d389b..5418ca26cd 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-10-12 Yao Qi + + * lib/gdb.exp (support_displaced_stepping): Return 1 if target + is aarch64*-*-linux*. + 2015-10-12 Yao Qi * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ... diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 9eaf721dab..048070b55b 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -2472,7 +2472,8 @@ proc support_displaced_stepping {} { if { [istarget "x86_64-*-linux*"] || [istarget "i\[34567\]86-*-linux*"] || [istarget "arm*-*-linux*"] || [istarget "powerpc-*-linux*"] - || [istarget "powerpc64-*-linux*"] || [istarget "s390*-*-*"] } { + || [istarget "powerpc64-*-linux*"] || [istarget "s390*-*-*"] + || [istarget "aarch64*-*-linux*"] } { return 1 } -- 2.34.1