dejagnu
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

hardware watchpoints on sparc64-*-linux-gnu


From: Jose E. Marchesi
Subject: hardware watchpoints on sparc64-*-linux-gnu
Date: Fri, 04 Oct 2013 17:06:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Hi.  Hardware watchpoints are not available on sparc64 systems running
GNU/Linux.  If this fact is not reflected in the board description then
several tests in gdb fail.

Tested on sparc64-unknown-linux-gnu (T4).

>From 8f3dbbdb61dd71d8bdb432f9c005a1cfdbc08935 Mon Sep 17 00:00:00 2001
From: Jose E. Marchesi <address@hidden>
Date: Fri, 4 Oct 2013 07:46:48 -0700
Subject: [PATCH] 2013-10-04  Jose E. Marchesi  <address@hidden>

        * baseboards/unix.exp: Add gdb settings to not use hardware
        watchpoints in sparc64 running GNU/Linux.
---
 ChangeLog           |    5 +++++
 baseboards/unix.exp |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2d23388..b69a13b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-04  Jose E. Marchesi  <address@hidden>
+
+       * baseboards/unix.exp: Add gdb settings to not use hardware
+       watchpoints in sparc64 running GNU/Linux.
+
 2013-06-17  Bernhard Reutner-Fischer  <address@hidden>
 
        * runtest.exp (libdirs): New global variable.
diff --git a/baseboards/unix.exp b/baseboards/unix.exp
index cf64a9e..bbb4adf 100644
--- a/baseboards/unix.exp
+++ b/baseboards/unix.exp
@@ -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
+}
-- 
1.7.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]