From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15241 invoked by alias); 5 Jul 2006 19:08:16 -0000 Received: (qmail 15228 invoked by uid 22791); 5 Jul 2006 19:08:15 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 05 Jul 2006 19:08:13 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FyCjL-0006y4-0p for gdb-patches@sourceware.org; Wed, 05 Jul 2006 15:08:11 -0400 Date: Wed, 05 Jul 2006 19:08:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Subject: Re: [rfc] Allow xfer_partial to signal EOF out of band Message-ID: <20060705190810.GB26278@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org References: <20060622033609.GA28010@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060622033609.GA28010@nevyn.them.org> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00010.txt.bz2 On Wed, Jun 21, 2006 at 11:36:09PM -0400, Daniel Jacobowitz wrote: > This patch adds a mechanism for to_xfer_partial to signal that it's done. > I didn't implement the new mechanism for any other targets besides remote; > it could easily be done for e.g. procfs_read_auxv, but the turnaround time > is such that it's not a big deal either way. For the remote protocol, > where there's an extra round trip to the remote link, I set *no_more if > the target tells me to. > > This is strictly an optional flag. If you don't set it, returning zero will > signal EOF exactly as before. For avoidance of doubt: This patch is withdrawn. I've incorporated a more local solution in the qXfer patch. -- Daniel Jacobowitz CodeSourcery