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 afde9d3..5418ca2 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 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 ... (can_relocate_bcond_true): ... it. (can_relocate_bcond_false): New function. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 9eaf721..048070b 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.7.4