From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31957 invoked by alias); 15 Mar 2004 22:01:36 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31948 invoked from network); 15 Mar 2004 22:01:34 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 15 Mar 2004 22:01:34 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i2FM1Y07012104 for ; Mon, 15 Mar 2004 17:01:34 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i2FM1Yj22645 for ; Mon, 15 Mar 2004 17:01:34 -0500 Received: from localhost.localdomain (vpn50-70.rdu.redhat.com [172.16.50.70]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i2FM1X4q032226 for ; Mon, 15 Mar 2004 17:01:34 -0500 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i2FM1ScG018011 for ; Mon, 15 Mar 2004 15:01:28 -0700 Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: [PATCH] breakpoint.c: Delete unused watchpoint related macro definition Message-Id: <20040315150128.6011f123@saguaro> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00340.txt.bz2 I've committed (as obvious) the patch below: * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete unused macro definition. The definition in target.h (or perhaps elsewhere) takes precedence. Index: breakpoint.c =================================================================== RCS file: /cvs/src/src/gdb/breakpoint.c,v retrieving revision 1.162 diff -u -p -r1.162 breakpoint.c --- breakpoint.c 28 Feb 2004 16:56:12 -0000 1.162 +++ breakpoint.c 15 Mar 2004 21:52:31 -0000 @@ -5894,11 +5894,6 @@ watch_command_1 (char *arg, int accessfl in hardware. If the watchpoint can not be handled in hardware return zero. */ -#if !defined(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT) -#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(BYTE_SIZE) \ - ((BYTE_SIZE) <= (DEPRECATED_REGISTER_SIZE)) -#endif - #if !defined(TARGET_REGION_OK_FOR_HW_WATCHPOINT) #define TARGET_REGION_OK_FOR_HW_WATCHPOINT(ADDR,LEN) \ (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(LEN)) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31957 invoked by alias); 15 Mar 2004 22:01:36 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 31948 invoked from network); 15 Mar 2004 22:01:34 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 15 Mar 2004 22:01:34 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i2FM1Y07012104 for ; Mon, 15 Mar 2004 17:01:34 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i2FM1Yj22645 for ; Mon, 15 Mar 2004 17:01:34 -0500 Received: from localhost.localdomain (vpn50-70.rdu.redhat.com [172.16.50.70]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i2FM1X4q032226 for ; Mon, 15 Mar 2004 17:01:34 -0500 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i2FM1ScG018011 for ; Mon, 15 Mar 2004 15:01:28 -0700 Date: Mon, 15 Mar 2004 22:01:00 -0000 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: [PATCH] breakpoint.c: Delete unused watchpoint related macro definition Message-ID: <20040315150128.6011f123@saguaro> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03.o/txt/msg00340.txt Message-ID: <20040315220100.cLEvgYTNCm3ElcvzpA8HAs0sclVFvWveGJDUSQxC1JY@z> I've committed (as obvious) the patch below: * breakpoint.c (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete unused macro definition. The definition in target.h (or perhaps elsewhere) takes precedence. Index: breakpoint.c =================================================================== RCS file: /cvs/src/src/gdb/breakpoint.c,v retrieving revision 1.162 diff -u -p -r1.162 breakpoint.c --- breakpoint.c 28 Feb 2004 16:56:12 -0000 1.162 +++ breakpoint.c 15 Mar 2004 21:52:31 -0000 @@ -5894,11 +5894,6 @@ watch_command_1 (char *arg, int accessfl in hardware. If the watchpoint can not be handled in hardware return zero. */ -#if !defined(TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT) -#define TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(BYTE_SIZE) \ - ((BYTE_SIZE) <= (DEPRECATED_REGISTER_SIZE)) -#endif - #if !defined(TARGET_REGION_OK_FOR_HW_WATCHPOINT) #define TARGET_REGION_OK_FOR_HW_WATCHPOINT(ADDR,LEN) \ (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT(LEN))