* baseboards/unix.exp: Add gdb settings to not use hardware
authorJose E. Marchesi <jose.marchesi@oracle.com>
Fri, 4 Oct 2013 22:09:19 +0000 (08:09 +1000)
committerBen Elliston <bje@gnu.org>
Fri, 4 Oct 2013 22:09:19 +0000 (08:09 +1000)
watchpoints in sparc64 running GNU/Linux.

Signed-off-by: Ben Elliston <bje@gnu.org>
ChangeLog
baseboards/unix.exp

index 2d23388..a8ab512 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-05  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * baseboards/unix.exp: Add gdb settings to not use hardware
+       watchpoints in sparc64 running GNU/Linux.
+
 2013-06-17  Bernhard Reutner-Fischer  <aldot@gcc.gnu.org>
 
        * runtest.exp (libdirs): New global variable.
index cf64a9e..bbb4adf 100644 (file)
@@ -35,3 +35,8 @@ if { [istarget "*-*-cygwin*"] } {
 if { [istarget "alpha*-*"] } {
     set_board_info ieee_multilib_flags "-mieee"
 }
+
+# Hardware breakpoints are not supported in sparc64 on GNU/Linux
+if { [istarget "sparc64-*-linux-gnu"] } {
+    set_board_info gdb,no_hardware_watchpoints 1
+}