aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2015-10-12 11:28:38 +0100
committerYao Qi <yao.qi@linaro.org>2015-10-12 11:28:38 +0100
commit34240514b58b7e8d2b444b69345d13db2695fef6 (patch)
tree324228bad8fe9e7bbfdf862427f97c16b5fdb143 /gdb
parentb6542f81d0894d69e7f12a73b94bf4adead75a5c (diff)
downloadgdb-34240514b58b7e8d2b444b69345d13db2695fef6.zip
gdb-34240514b58b7e8d2b444b69345d13db2695fef6.tar.gz
gdb-34240514b58b7e8d2b444b69345d13db2695fef6.tar.bz2
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*.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/lib/gdb.exp3
2 files changed, 7 insertions, 1 deletions
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
}