This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
PATCH: Delete unused definition
- From: Jim Blandy <jimb at zwingli dot cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 20 Nov 2001 21:01:38 -0500 (EST)
- Subject: PATCH: Delete unused definition
Checked in as an obvious fix.
2001-11-20 Jim Blandy <jimb@redhat.com>
* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): Delete
default definition; this is never used.
Index: gdb/target.h
===================================================================
RCS file: /cvs/src/src/gdb/target.h,v
retrieving revision 1.20
diff -c -r1.20 target.h
*** gdb/target.h 2001/08/11 00:59:29 1.20
--- gdb/target.h 2001/11/21 01:58:26
***************
*** 1049,1065 ****
((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
--- 1049,1054 ----