From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6622 invoked by alias); 21 Aug 2015 17:12:20 -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 6142 invoked by uid 89); 21 Aug 2015 17:12:19 -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; Fri, 21 Aug 2015 17:12:14 +0000 Received: from svr-orw-fem-04.mgc.mentorg.com ([147.34.97.41]) by relay1.mentorg.com with esmtp id 1ZSprN-0004TI-P0 from Sandra_Loosemore@mentor.com ; Fri, 21 Aug 2015 10:12:09 -0700 Received: from [IPv6:::1] (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.3.224.2; Fri, 21 Aug 2015 10:12:09 -0700 Message-ID: <55D75B69.1040408@codesourcery.com> Date: Fri, 21 Aug 2015 17:12: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: Pedro Alves CC: Gary Benson , , Joel Brobecker , Doug Evans , Jan Kratochvil , =?windows-1252?Q?Andr=E9_P=F6nitz?= , Paul Koning Subject: Re: [PATCH] remote: allow aborting long operations (e.g., file transfers) (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> <55D4B190.6080700@codesourcery.com> <20150819172059.GA31845@blade.nx> <55D4F125.4080409@codesourcery.com> <55D5F799.9020700@redhat.com> <55D607B8.70103@redhat.com> <55D61AA2.5000502@codesourcery.com> <55D73B35.8010008@redhat.com> In-Reply-To: <55D73B35.8010008@redhat.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00583.txt.bz2 On 08/21/2015 08:52 AM, Pedro Alves wrote: > But please try the new patch below. In combination with the two patches Gary just checked in, this is working fabulously. I see: (gdb) c Continuing. Reading /scratch/sandra/nios2-linux-trunk/install/opt/codesourcery/nios2-linux-gnu/libc/lib/libc.so.6 from remote target... ^C^CInterrupted while waiting for the program. Give up waiting? (y or n) y Quit (gdb) bt #0 __GI__dl_debug_state () at dl-debug.c:74 #1 0x2aaab1d0 in dl_main (phdr=, phnum=, user_entry=, auxv=) at rtld.c:2172 #2 0x2aabd284 in _dl_sysdep_start (start_argptr=, dl_main=0x2aaa93a4 ) at ../elf/dl-sysdep.c:249 #3 0x2aaac34c in _dl_start_final (arg=0x7ffefa80, info=) at rtld.c:308 #4 0x2aaac644 in _dl_start (arg=0x7ffefa80) at rtld.c:418 #5 0x2aaa8ce8 in _start () from target:/scratch/sandra/nios2-linux-trunk/install/opt/codesourcery/nios2-linux-gnu/libc/lib/ld-linux-nios2.so.1 (gdb) c Continuing. Breakpoint 1, main () at /home/sandra/examples/croak.c:10 10 n = sizeof (s) / sizeof (const char *); (gdb) info sharedlibrary From To Syms Read Shared Object Library 0x2aaa89e4 0x2aac1780 Yes target:/scratch/sandra/nios2-linux-trunk/install/opt/codesourcery/nios2-linux-gnu/libc/lib/ld-linux-nios2.so.1 0x2aaece80 0x2abf64c8 No target:/scratch/sandra/nios2-linux-trunk/install/opt/codesourcery/nios2-linux-gnu/libc/lib/libc.so.6 (gdb) I think this addresses all my concerns with the change in the default behavior. Pedro and Gary, thanks very much for your patience and hard work in getting this resolved! Between the speedup in reading the libraries, the messages to explain what is going on, and making transfers interruptible, this is a big improvement in usability. :-D -Sandra