From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21320 invoked by alias); 21 Nov 2001 02:00:31 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 21214 invoked from network); 21 Nov 2001 02:00:24 -0000 Received: from unknown (HELO zwingli.cygnus.com) (208.245.165.35) by sourceware.cygnus.com with SMTP; 21 Nov 2001 02:00:24 -0000 Received: by zwingli.cygnus.com (Postfix, from userid 442) id 03B675E9D8; Tue, 20 Nov 2001 21:01:38 -0500 (EST) From: Jim Blandy To: gdb-patches@sources.redhat.com Subject: PATCH: Delete unused definition Message-Id: <20011121020138.03B675E9D8@zwingli.cygnus.com> Date: Thu, 08 Nov 2001 11:26:00 -0000 X-SW-Source: 2001-11/txt/msg00163.txt.bz2 Checked in as an obvious fix. 2001-11-20 Jim Blandy * 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 ----