From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7311 invoked by alias); 27 Oct 2003 20:46:39 -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 7303 invoked from network); 27 Oct 2003 20:46:38 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 27 Oct 2003 20:46:38 -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 h9RKkcM11844 for ; Mon, 27 Oct 2003 15:46:38 -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 h9RKkc616894 for ; Mon, 27 Oct 2003 15:46:38 -0500 Received: from localhost.localdomain (vpn50-2.rdu.redhat.com [172.16.50.2]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h9RKkaGG018504; Mon, 27 Oct 2003 15:46:37 -0500 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h9RKkV731165; Mon, 27 Oct 2003 13:46:31 -0700 Date: Mon, 27 Oct 2003 20:46:00 -0000 From: Kevin Buettner Message-Id: <1031027204631.ZM31164@localhost.localdomain> In-Reply-To: Andrew Cagney "[patch/rfc] to_read/write_partial -> to_xfer_partial" (Oct 27, 3:25pm) References: <3F9D7F21.6030001@redhat.com> To: Andrew Cagney , gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] to_read/write_partial -> to_xfer_partial MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-10/txt/msg00796.txt.bz2 On Oct 27, 3:25pm, Andrew Cagney wrote: > Per: http://sources.redhat.com/ml/gdb-patches/2003-10/msg00641.html > > Having taken the change to this point, I'm now wondering if the read/write partial methods should be merged into: > > to_xfer_partial (targ, object, annex, > > offset, len, > > readbuf, writebuf) > > as that would make migrating existing targets easier. > > Having implemented bfd-target and remote-target versions > to_read/write_partial, I think this switch is going to make life easier. Could you offer a few more details on why you think that merging the read/write methods into a single xfer method will make it easier to migrate existing targets? Kevin