From: Yao Qi Date: Mon, 22 Jun 2015 12:41:33 +0000 (+0100) Subject: Don't skip hw breakpoint/watchpoint tests for aarch64 target X-Git-Tag: gdb-7.10-branchpoint~112 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52042a003f3e9200c992bc5cf4607dc7655b1f7b;p=thirdparty%2Fbinutils-gdb.git Don't skip hw breakpoint/watchpoint tests for aarch64 target 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 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target aarch64*-*-*. (skip_hw_watchpoint_tests): Likewise. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5a9a7eb74d3..3a48bcd0248 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2015-06-22 Yao Qi + + * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target + aarch64*-*-*. + (skip_hw_watchpoint_tests): Likewise. + 2015-06-18 Patrick Palka * gdb.base/gdbinit-history.exp: Test the interaction between diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index b5928c3dcb6..9edf2dcd0d7 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -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