From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91699 invoked by alias); 14 Feb 2020 03:54:47 -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 91689 invoked by uid 89); 14 Feb 2020 03:54:46 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.6 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=237A, 0287, 31F4, UD:sergiodj.net X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (205.139.110.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 14 Feb 2020 03:54:45 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581652483; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HOh1MiqVeCHFl2TflqRWt5ieXiAkiZTBFVrnp3cbjVk=; b=ST4xpeOEwbjXedOWzct/sWntMEpg3lmgWu+tb49yL06EEnL8fkC5CEEmx6PyuR6l+iV1vL fHhs3mxmc0uzY19VTXjq6bf+ONdeqp75zjizfaZas0CWgbpnmtiZao33QAbBknPtXx108K m5QjyOMxv1V9+ZhwjS+a3EdpOFovUKg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-240-eTzMF27gNvSCwK3Q1WSFCQ-1; Thu, 13 Feb 2020 22:54:35 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9A04E1005512; Fri, 14 Feb 2020 03:54:34 +0000 (UTC) Received: from localhost (unused-10-15-17-196.yyz.redhat.com [10.15.17.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9BA1A26E7C; Fri, 14 Feb 2020 03:54:33 +0000 (UTC) From: Sergio Durigan Junior To: Tom Tromey Cc: Tom de Vries , Pedro Alves , gdb-patches@sourceware.org Subject: Re: [PATCH] Move gdbserver to top level References: <87d0bf45up.fsf@tromey.com> <7ceebbb7-b2f7-3d4a-1d8a-f31310badbe8@redhat.com> <874kwk8nz9.fsf@tromey.com> <171a3144-af37-1c29-a2a4-c4cd7eaa14c0@redhat.com> <87r1zm6x8s.fsf@tromey.com> <01b4b5ca-a802-54b5-3135-428b7c9faa84@redhat.com> <87o8uo4mj0.fsf@tromey.com> <87blqfn0d6.fsf@tromey.com> <0b6b4f24-f5c8-b236-c249-737e70395667@suse.de> <4d5a1276-91aa-7197-5f90-854767987f73@suse.de> <87imkeh1za.fsf@redhat.com> <87eev0bp4s.fsf@tromey.com> Date: Fri, 14 Feb 2020 03:54:00 -0000 In-Reply-To: <87eev0bp4s.fsf@tromey.com> (Tom Tromey's message of "Tue, 11 Feb 2020 17:55:31 -0700") Message-ID: <8736bd3jt2.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2020-02/txt/msg00550.txt.bz2 On Tuesday, February 11 2020, Tom Tromey wrote: >>>>>> "Sergio" =3D=3D Sergio Durigan Junior writes: > > Sergio> I wonder why... We build GDB from scratch on every build. Is th= ere > Sergio> anything special that needs to be done to run the gdbserver tests= now? > > No, I just neglected to update the gdb test suite to find gdbserver in > the new spot. > > I will send a patch momentarily. I'm attaching a patch that works OK for me here. WDYT? --=20 Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/ =46rom 219ed0823fdc0596be2ba79358b2fd22c2d5e333 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Thu, 13 Feb 2020 22:51:23 -0500 Subject: [PATCH] Adjust gdb_server_prog to the new gdbserver location This patch adjusts 'gdb_server_prog' (from testsuite/boards/gdbserver-base.exp) to point to the new location where gdbserver lives. This "unbreaks" the native{,-extended}-gdbserver boards. gdb/testsuite/ChangeLog: 2020-02-14 Sergio Durigan Junior * boards/gdbserver-base.exp: Adjust 'gdb_server_prog'. --- gdb/testsuite/boards/gdbserver-base.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/boards/gdbserver-base.exp b/gdb/testsuite/boards= /gdbserver-base.exp index 4db834dd84..f27a2fdf91 100644 --- a/gdb/testsuite/boards/gdbserver-base.exp +++ b/gdb/testsuite/boards/gdbserver-base.exp @@ -22,7 +22,7 @@ process_multilib_options "" set_board_info compiler "[find_gcc]" =20 # Test the copy of gdbserver in the build directory. -set_board_info gdb_server_prog "[pwd]/../gdbserver/gdbserver" +set_board_info gdb_server_prog "[pwd]/../../gdbserver/gdbserver" =20 # gdbserver does not intercept target file operations and perform them # on the host. --=20 2.21.0