Don't skip hw breakpoint/watchpoint tests for aarch64 target
authorYao Qi <yao.qi@linaro.org>
Mon, 22 Jun 2015 12:41:33 +0000 (13:41 +0100)
committerYao Qi <yao.qi@linaro.org>
Mon, 22 Jun 2015 12:43:30 +0000 (13:43 +0100)
This patch is to let skip_hw_breakpoint_tests and skip_hw_watchpoint_tests
return 0 for aarch64 target, since aarch64 has HW watchpoint and
breakpoint registers.

With this patch applied, about 1560 watchpoint/breakpoint related tests
become enabled on aarch64-linux native testing.

gdb/testsuite:

2015-06-22  Yao Qi  <yao.qi@linaro.org>

* lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
aarch64*-*-*.
(skip_hw_watchpoint_tests): Likewise.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index 5a9a7eb74d3210567ebe9b7dc6ddb3bb0aad9e12..3a48bcd02483155ec9d8410bb7ac1272f7709c33 100644 (file)
@@ -1,3 +1,9 @@
+2015-06-22  Yao Qi  <yao.qi@linaro.org>
+
+       * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
+       aarch64*-*-*.
+       (skip_hw_watchpoint_tests): Likewise.
+
 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
 
        * gdb.base/gdbinit-history.exp: Test the interaction between
index b5928c3dcb6d1a105c14d3019744b708903c6cdf..9edf2dcd0d75cd1a9b1392d019f8e8e91f02213c 100644 (file)
@@ -2556,7 +2556,8 @@ proc skip_hw_breakpoint_tests {} {
     if { [istarget "i?86-*-*"] 
         || [istarget "x86_64-*-*"]
         || [istarget "ia64-*-*"] 
-        || [istarget "arm*-*-*"]} {
+        || [istarget "arm*-*-*"]
+        || [istarget "aarch64*-*-*"]} {
        return 0
     }
 
@@ -2576,6 +2577,7 @@ proc skip_hw_watchpoint_tests {} {
         || [istarget "x86_64-*-*"]
         || [istarget "ia64-*-*"] 
         || [istarget "arm*-*-*"]
+        || [istarget "aarch64*-*-*"]
         || [istarget "powerpc*-*-linux*"]
         || [istarget "s390*-*-*"] } {
        return 0