From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8567 invoked by alias); 26 Jul 2015 20:03:42 -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 8518 invoked by uid 89); 26 Jul 2015 20:03:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 26 Jul 2015 20:03:41 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 3CDEC96C9; Sun, 26 Jul 2015 20:03:40 +0000 (UTC) Received: from fche.csb (vpn-235-81.phx2.redhat.com [10.3.235.81]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t6QK3dPb016557; Sun, 26 Jul 2015 16:03:40 -0400 Received: by fche.csb (Postfix, from userid 2569) id DD95E584D4; Sun, 26 Jul 2015 16:05:00 -0400 (EDT) To: Pedro Alves Cc: Paul_Koning@Dell.com, gbenson@redhat.com, sandra@codesourcery.com, gdb@sourceware.org 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> From: fche@redhat.com (Frank Ch. Eigler) Date: Sun, 26 Jul 2015 20:03:00 -0000 In-Reply-To: <55B26267.4060905@redhat.com> (Pedro Alves's message of "Fri, 24 Jul 2015 17:05:59 +0100") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2015-07/txt/msg00055.txt.bz2 palves wrote: > [...] > But in that scenario, with the old default sysroot, how was gdb finding > the binaries on the build host? The binaries on the equilalent locations > on the host's root will certainly not match the embedded/target system's. > [...] > regressing is the case where the host and target share both the > filesystem, and the host/target paths match. I don't know off hand how to > make gdb aware of that automatically. > [...] GDB could grow a qCRC type packet for the remote file server, so as to let it compare the remote files to the local ones. (Or even qRSYNC :-) - FChE