From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21038 invoked by alias); 11 Jan 2004 19:15:28 -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 21028 invoked from network); 11 Jan 2004 19:15:26 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.3.48) by sources.redhat.com with SMTP; 11 Jan 2004 19:15:26 -0000 Received: from gnu.org (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id EDA802B8F; Sun, 11 Jan 2004 14:15:08 -0500 (EST) Message-ID: <4001A0BC.6050809@gnu.org> Date: Sun, 11 Jan 2004 19:15:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 MIME-Version: 1.0 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] target.c: eliminate one use of DEPRECATED_REGISTER_SIZE References: <1040109032011.ZM30010@localhost.localdomain> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2004-01/txt/msg00289.txt.bz2 > default_region_size_ok_for_hw_watchpoint (int byte_count) > { > - return (byte_count <= DEPRECATED_REGISTER_SIZE); > + return (byte_count <= (TARGET_PTR_BIT / TARGET_CHAR_BIT)); > } > Ok, but with `TYPE_LENGTH (builtin_type_void_{code/data}_ptr)'. Here I believe that the data pointer would be more correct. Andrew