From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46756 invoked by alias); 19 Aug 2015 16:43:02 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 46747 invoked by uid 89); 19 Aug 2015 16:43:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Aug 2015 16:42:59 +0000 Received: from svr-orw-fem-05.mgc.mentorg.com ([147.34.97.43]) by relay1.mentorg.com with esmtp id 1ZS6af-0007Tb-M5 from Sandra_Loosemore@mentor.com ; Wed, 19 Aug 2015 09:51:53 -0700 Received: from [IPv6:::1] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.3.224.2; Wed, 19 Aug 2015 09:42:54 -0700 Message-ID: <55D4B190.6080700@codesourcery.com> Date: Wed, 19 Aug 2015 16:43:00 -0000 From: Sandra Loosemore User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Gary Benson CC: , Pedro Alves , Joel Brobecker , Doug Evans , Jan Kratochvil , =?ISO-8859-1?Q?Andr=E9_P=F6nitz?= , Paul Koning Subject: Re: [PATCH] Prelimit number of bytes to read in "vFile:pread:" References: <55D3DB83.4050204@redhat.com> <1439980862-21305-1-git-send-email-gbenson@redhat.com> <20150819105054.GA22009@blade.nx> In-Reply-To: <20150819105054.GA22009@blade.nx> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00521.txt.bz2 On 08/19/2015 04:50 AM, Gary Benson wrote: > Sandra, could you please try this patch on your Altera 3c120 and > on your PandaBoard? I'm interested to know what the times are > now. Wow, this patch made a big improvement! On the nios2 board the startup took 18 seconds the first time and 10 seconds on subsequent attempts -- probably some NFS-level caching? On the PandaBoard it was 3 seconds or less. On 08/19/2015 07:42 AM, Gary Benson wrote: > Pedro Alves wrote: >> BTW, the transfers seem to be always interruptible for me, even without >> Gary's patch, and even the slow ones. > > Ok, I'm glad I'm not the only one :) Unfortunately, I still can't see that ^C is doing anything useful for me. It is not coming back to a gdb prompt any sooner and "info sharedlibrary" afterwards prints the same thing whether or not I've tried to interrupt it. This was with unpatched FSF trunk. How am I supposed to tell whether ^C did anything? How are you guys telling that it is doing something useful? Is there supposed to be some sort of message? If the file transfer from the target is aborted, I think it should say that. I'm also not seeing the warning on the initial sysroot file transfer from the target. I've lost track of this; was that patch not approved/committed yet? -Sandra