This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Support displaced stepping in support_displaced_stepping for aarch64*-*-linux*
- From: Yao Qi <qiyao at sourceware dot org>
- To: gdb-cvs at sourceware dot org
- Date: 12 Oct 2015 10:33:25 -0000
- Subject: [binutils-gdb] Support displaced stepping in support_displaced_stepping for aarch64*-*-linux*
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=34240514b58b7e8d2b444b69345d13db2695fef6
commit 34240514b58b7e8d2b444b69345d13db2695fef6
Author: Yao Qi <yao.qi@linaro.org>
Date: Mon Oct 12 11:28:38 2015 +0100
Support displaced stepping in support_displaced_stepping for aarch64*-*-linux*
gdb/testsuite:
2015-10-12 Yao Qi <yao.qi@linaro.org>
* lib/gdb.exp (support_displaced_stepping): Return 1 if target
is aarch64*-*-linux*.
Diff:
---
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 <yao.qi@linaro.org>
+ * lib/gdb.exp (support_displaced_stepping): Return 1 if target
+ is aarch64*-*-linux*.
+
+2015-10-12 Yao Qi <yao.qi@linaro.org>
+
* 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
}