From patchwork Fri Feb 14 03:54:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergio Durigan Junior X-Patchwork-Id: 38059 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-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@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: Thu, 13 Feb 2020 22:54:33 -0500 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 X-IsSubscribed: yes On Tuesday, February 11 2020, Tom Tromey wrote: >>>>>> "Sergio" == Sergio Durigan Junior writes: > > Sergio> I wonder why... We build GDB from scratch on every build. Is there > 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? 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]" # 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" # gdbserver does not intercept target file operations and perform them # on the host.