From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32406 invoked by alias); 20 Jul 2011 16:45:32 -0000 Received: (qmail 32383 invoked by uid 22791); 20 Jul 2011 16:45:31 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.44.51) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Jul 2011 16:45:17 +0000 Received: from hpaq11.eem.corp.google.com (hpaq11.eem.corp.google.com [172.25.149.11]) by smtp-out.google.com with ESMTP id p6KGjFLq018210 for ; Wed, 20 Jul 2011 09:45:16 -0700 Received: from yie19 (yie19.prod.google.com [10.243.66.19]) by hpaq11.eem.corp.google.com with ESMTP id p6KGgd1O017483 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Wed, 20 Jul 2011 09:45:14 -0700 Received: by yie19 with SMTP id 19so298922yie.11 for ; Wed, 20 Jul 2011 09:45:14 -0700 (PDT) Received: by 10.90.22.32 with SMTP id 32mr8345170agv.183.1311180314121; Wed, 20 Jul 2011 09:45:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.25.19 with HTTP; Wed, 20 Jul 2011 09:44:43 -0700 (PDT) In-Reply-To: <201107201735.13150.pedro@codesourcery.com> References: <20110715205209.8B3B3190BC2@elbrus2.mtv.corp.google.com> <201107201537.18159.pedro@codesourcery.com> <201107201735.13150.pedro@codesourcery.com> From: Paul Pluzhnikov Date: Wed, 20 Jul 2011 16:59:00 -0000 Message-ID: Subject: Re: [RFC][patch] Avoid repeated calls to solib_add on initial attach. To: Pedro Alves Cc: gdb-patches@sourceware.org, Luis Machado Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true 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-07/txt/msg00549.txt.bz2 On Wed, Jul 20, 2011 at 9:35 AM, Pedro Alves wrote: >> =A0 qStr {addr},{maxlen},{terminator} ... > We considered a packet like this too, but decided that bumping > target_read_string first and seeing if anything breaks would be > better. =A0Haven't heard back of any breakage or slowdown so far. > I propose we do the same upstream. But do you have any targets where reading individual words is slow? I don't know about any such targets first-hand, but I've heard that JTAG reading could be exceedingly slow. Another possible alternative is to make this a run-time parameter: 'maintenance set string-read-size 64' or some such. Default to 64 and let JTAG people dial it down if it ever becomes a problem for them? Thanks for your comments. --=20 Paul Pluzhnikov