* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
authorJim Blandy <jimb@codesourcery.com>
Wed, 21 Nov 2001 02:01:29 +0000 (02:01 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 21 Nov 2001 02:01:29 +0000 (02:01 +0000)
default definition; this is never used.

gdb/ChangeLog
gdb/target.h

index 914d32bde6c9d05b8e948ca6f82c73ddcbfc3f6c..75b1d80d62bf77ae3fdc70ffe8e4011c80e0209b 100644 (file)
@@ -1,3 +1,8 @@
+2001-11-20  Jim Blandy  <jimb@redhat.com>
+
+       * target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
+       default definition; this is never used.
+
 2001-11-20  Keith Seitz  <keiths@redhat.com>
 
        * varobj.c (c_value_of_child): Release memory for "name" when
index 7c97ba619d3465e2985e2f533a0b6c2f11ffd6ef..18635d2484fe76a2f558724ca1a56ab868330e60 100644 (file)
@@ -1049,17 +1049,6 @@ extern void (*target_new_objfile_hook) (struct objfile *);
      ((LONGEST)(byte_count) <= REGISTER_SIZE)
 #endif
 
-/* However, some addresses may not be profitable to use hardware to watch,
-   or may be difficult to understand when the addressed object is out of
-   scope, and hence should be unwatched.  On some targets, this may have
-   severe performance penalties, such that we might as well use regular
-   watchpoints, and save (possibly precious) hardware watchpoints for other
-   locations.  */
-
-#if !defined(TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT)
-#define TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT(pid,start,len) 0
-#endif
-
 
 /* Set/clear a hardware watchpoint starting at ADDR, for LEN bytes.  TYPE is 0
    for write, 1 for read, and 2 for read/write accesses.  Returns 0 for