From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7211 invoked by alias); 20 Aug 2011 21:11:05 -0000 Received: (qmail 7203 invoked by uid 22791); 20 Aug 2011 21:11:04 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-ew0-f41.google.com (HELO mail-ew0-f41.google.com) (209.85.215.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 20 Aug 2011 21:10:51 +0000 Received: by ewy9 with SMTP id 9so1657616ewy.0 for ; Sat, 20 Aug 2011 14:10:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.14.151.10 with SMTP id a10mr188731eek.38.1313874647860; Sat, 20 Aug 2011 14:10:47 -0700 (PDT) Received: by 10.14.29.75 with HTTP; Sat, 20 Aug 2011 14:10:47 -0700 (PDT) In-Reply-To: <20110820183702.GA4876@host1.jankratochvil.net> References: <4E4E9926.9000800@codesourcery.com> <20110820183702.GA4876@host1.jankratochvil.net> Date: Sat, 20 Aug 2011 21:11:00 -0000 Message-ID: Subject: Re: [PATCH] Speed up target_read_string From: Daniel Jacobowitz To: Jan Kratochvil Cc: Luis Machado , gdb-patches@sourceware.org, Pedro Alves Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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 X-SW-Source: 2011-08/txt/msg00407.txt.bz2 On Sat, Aug 20, 2011 at 2:37 PM, Jan Kratochvil wrote: > On Fri, 19 Aug 2011 19:11:02 +0200, Luis Machado wrote: >> The following change is aimed at increasing the performance of >> target_read_string for remote debugging. To accomplish that, the >> buffer has been increased to 64 bytes and we now use >> target_read_partial instead of target_read_memory. > > As this is implementation of > =A0 =A0 =A0 =A0[RFC] Make target_read_string faster over high-latency lin= ks. > =A0 =A0 =A0 =A0http://sourceware.org/ml/gdb-patches/2011-07/msg00391.html > > where Daniel had concerns about some embedded targets without a reply I g= uess > you are aware of these issues (I am not). > For avoidance of doubt, I'll defer to Luis and Pedro on this topic. --=20 Thanks, Daniel