diff options
author | Jim Blandy <jimb@codesourcery.com> | 2001-11-21 02:01:29 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2001-11-21 02:01:29 +0000 |
commit | 1fdc94ca5949361a7a75e1ab7abc7d2728712532 (patch) | |
tree | 0dadb8cb350292b793eaff0e78b978d6aee52a8c /gdb/target.h | |
parent | 0638d3829f0b509383edce84f923438600ba1092 (diff) | |
download | gdb-1fdc94ca5949361a7a75e1ab7abc7d2728712532.tar.gz |
* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
default definition; this is never used.
Diffstat (limited to 'gdb/target.h')
-rw-r--r-- | gdb/target.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/target.h b/gdb/target.h index 7c97ba619d3..18635d2484f 100644 --- a/gdb/target.h +++ b/gdb/target.h @@ -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 |