From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3170 invoked by alias); 26 Jul 2011 08:36:38 -0000 Received: (qmail 2932 invoked by uid 22791); 26 Jul 2011 08:36:36 -0000 X-SWARE-Spam-Status: No, hits=-7.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Jul 2011 08:36:19 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p6Q8aIr7018904 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 26 Jul 2011 04:36:18 -0400 Received: from host1.jankratochvil.net (ovpn-116-20.ams2.redhat.com [10.36.116.20]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p6Q8aEi0012038 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 26 Jul 2011 04:36:18 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p6Q8aDSW000451; Tue, 26 Jul 2011 10:36:13 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p6Q8aDlU000446; Tue, 26 Jul 2011 10:36:13 +0200 Date: Tue, 26 Jul 2011 11:15:00 -0000 From: Jan Kratochvil To: Paul Pluzhnikov Cc: gdb-patches@sourceware.org Subject: Re: [RFC] Make target_read_string faster over high-latency links. Message-ID: <20110726083612.GA32633@host1.jankratochvil.net> References: <20110715180748.A0390190BC2@elbrus2.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110715180748.A0390190BC2@elbrus2.mtv.corp.google.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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/msg00719.txt.bz2 On Fri, 15 Jul 2011 20:07:48 +0200, Paul Pluzhnikov wrote: > This is GDB walking through the shared library list, and reading shared > library names from gdbserver via target_read_string 4 bytes at a time ;-( Just that you do not mention supporting qXfer:libraries:read also on GNU/Linux platforms (currently used only on MS-Windows), that is to move solib-svr4.c to gdb/common/ etc. It is sure a larger change but it could bring even a better performance. Thanks, Jan