From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71904 invoked by alias); 28 Mar 2019 05:14:41 -0000 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 Received: (qmail 71329 invoked by uid 89); 28 Mar 2019 05:14:40 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=genuinely, interest 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 ESMTP; Thu, 28 Mar 2019 05:14:39 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CEF7D3399A; Thu, 28 Mar 2019 05:14:38 +0000 (UTC) Received: from f29-4.lan (ovpn-117-184.phx2.redhat.com [10.3.117.184]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9D19A60CC0; Thu, 28 Mar 2019 05:14:38 +0000 (UTC) Date: Thu, 28 Mar 2019 05:14:00 -0000 From: Kevin Buettner To: Alan Hayward Cc: gdb-patches@sourceware.org Subject: Re: [RFC/PATCH] Testsuite: set sysroot when using gdbserver Message-ID: <20190327221438.1fade1ef@f29-4.lan> In-Reply-To: <20190327134915.5e9b19ba@f29-4.lan> References: <20190327164025.48105-1-alan.hayward@arm.com> <20190327134915.5e9b19ba@f29-4.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00698.txt.bz2 Hi Alan, I want to apologize in case my latter comment came across as harsh. I think I could have phrased it more diplomatically. I'll note that I also have an interest in setting up sysroot for the OpenMP tests that I've been working on. So I am genuinely interested in whether or how sysroot can be set from a board file. Also, making the tests run faster is definitely a good thing, so thanks for looking into this. Kevin On Wed, 27 Mar 2019 13:49:15 -0700 Kevin Buettner wrote: > On Wed, 27 Mar 2019 16:40:30 +0000 > Alan Hayward wrote: > > > However, I'm not sure if putting the sysroot into gdbserver_start will break > > other remote setups. In addition, I don't think gdb_test is the correct > > function to call within the library - for the mi tests this causes a timeout > > as it expect to use mi_gdb_test. > > Can sysroot be set in the board file(s)? > > If so, I think that would be preferable to your proposed patch. > > Kevin