From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17305 invoked by alias); 5 Feb 2003 19:02:46 -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 17298 invoked from network); 5 Feb 2003 19:02:46 -0000 Received: from unknown (HELO mx1.redhat.com) (172.16.49.200) by 172.16.49.205 with SMTP; 5 Feb 2003 19:02:46 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h15J2kf12889 for ; Wed, 5 Feb 2003 14:02:46 -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 h15J2ia16012; Wed, 5 Feb 2003 14:02:44 -0500 Received: from localhost.localdomain (vpn50-31.rdu.redhat.com [172.16.50.31]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h15J2iY31713; Wed, 5 Feb 2003 14:02:44 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h15J2cr03284; Wed, 5 Feb 2003 12:02:38 -0700 Date: Wed, 05 Feb 2003 19:02:00 -0000 From: Kevin Buettner Message-Id: <1030205190238.ZM3283@localhost.localdomain> In-Reply-To: Andrew Cagney "[commit] localize address to/from host pointer" (Feb 1, 6:35pm) References: <3E3C59B6.3020708@redhat.com> To: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [commit] localize address to/from host pointer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-02/txt/msg00195.txt.bz2 On Feb 1, 6:35pm, Andrew Cagney wrote: > This patch makes the nasty address_to_host_pointer() and > host_pointer_to_address() methods static. The HP/UX ones should be > deleted. Not sure about the procfs ones. Regarding procfs, when I studied it in the past, I concluded that address_to_host_pointer() was needed. This is due to the fact that the struct which serves as the watchpoint interface to procfs contains a pointer. This is truly unfortunate though since, for platforms which support more than one ABI (which differ in pointer sizes), the correct ABI must be used to compile gdb. If the wrong ABI is chosen, watchpoint support won't work. Kevin