summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-12-31 13:28:35 +0000
committerMark Kettenis <kettenis@gnu.org>2003-12-31 13:28:35 +0000
commit7f8a613c1b7e8ba4096b400503b68b3c3fe29831 (patch)
treee8c29561ab57a118878d201d3b83dd525d121ea8
parent5bbd11ae98ccd8a6328a8a102cfc11be079d23c8 (diff)
downloadbinutils-gdb-7f8a613c1b7e8ba4096b400503b68b3c3fe29831.tar.gz
* config/sparc/nm-sol2.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
Remove define. Adjust comment.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/config/sparc/nm-sol2.h5
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 94ab51a0a2d..b76cae76ca3 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-31 Mark Kettenis <kettenis@gnu.org>
+
+ * config/sparc/nm-sol2.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
+ Remove define. Adjust comment.
+
2003-12-29 Mark Kettenis <kettenis@gnu.org>
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_cache): Fix comment.
diff --git a/gdb/config/sparc/nm-sol2.h b/gdb/config/sparc/nm-sol2.h
index ad6d88dc9fe..bc9de3fdf80 100644
--- a/gdb/config/sparc/nm-sol2.h
+++ b/gdb/config/sparc/nm-sol2.h
@@ -37,8 +37,9 @@
/* The man page for proc(4) on Solaris 2.6 and up says that the system
can support "thousands" of hardware watchpoints, but gives no
- method for finding out how many. So just tell GDB 'yes'. */
-#define TARGET_CAN_USE_HARDWARE_WATCHPOINT(TYPE, CNT, OT) 1
+ method for finding out how many; It doesn't say anything about the
+ allowed size for the watched area either. So we just tell GDB
+ 'yes'. */
#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(SIZE) 1
/* When a hardware watchpoint fires off the PC will be left at the