From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 129224 invoked by alias); 28 Jul 2015 15:22:53 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 129212 invoked by uid 89); 28 Jul 2015 15:22:53 -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; Tue, 28 Jul 2015 15:22:51 +0000 Received: from svr-orw-fem-05.mgc.mentorg.com ([147.34.97.43]) by relay1.mentorg.com with esmtp id 1ZK6iN-0003c1-Rw from Sandra_Loosemore@mentor.com ; Tue, 28 Jul 2015 08:22:47 -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; Tue, 28 Jul 2015 08:22:47 -0700 Message-ID: <55B79DD6.1000200@codesourcery.com> Date: Tue, 28 Jul 2015 15:22: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 , , Subject: Re: GDB now takes 4 minutes to start up with remote gdbserver target References: <55B1768E.9090309@codesourcery.com> <55B1A4FC.9010403@codesourcery.com> <20150724085244.GB22673@blade.nx> <55B2444C.106@codesourcery.com> <2906903F-7478-4B9D-8A9A-A6256F8076EF@dell.com> <20150724151148.GA18553@blade.nx> <55B26267.4060905@redhat.com> <55B27348.1020104@codesourcery.com> <20150727121454.GA15226@blade.nx> <20150728092507.GA28545@blade.nx> In-Reply-To: <20150728092507.GA28545@blade.nx> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-07/txt/msg00065.txt.bz2 On 07/28/2015 03:25 AM, Gary Benson wrote: > > Ok, here goes... > > * From a user's perspective GDB is magically prefixing *some* > executable and shared library filenames with "target:". > > * From a developer's perspective this magic prefixing is implemented > by having the string "target:" as the default sysroot. > > My proposal is to make the default sysroot be "" again, and add the > prefix in solib_find_1 if certain conditions are met, specifically: > > * Executable filenames get prefixed with "target:" iff: > Automatic "target:" prefixing is enabled > AND gdb_sysroot is "" > AND the filesystem is nonlocal > > * Shared library filenames get prefixed with "target:" iff: > Automatic "target:" prefixing is enabled > AND gdb_sysroot is "" > AND the filesystem is nonlocal > AND exec_filename starts with "target:" Can you explain what "the filesystem is nonlocal" means? Which filesystem? Nonlocal relative to the host or the target? And what qualifies as nonlocal -- e.g. are NFS or SSHFS mounts nonlocal? -Sandra the confused