From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id mIpXEuJ121/TSwAAWB0awg (envelope-from ) for ; Thu, 17 Dec 2020 10:14:42 -0500 Received: by simark.ca (Postfix, from userid 112) id 4927C1F0AA; Thu, 17 Dec 2020 10:14:42 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id E5EDE1E965 for ; Thu, 17 Dec 2020 10:14:41 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4BCBB3896015; Thu, 17 Dec 2020 15:14:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4BCBB3896015 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1608218081; bh=WGN4yQBG0u1H7L00ygBFDu4S2Rj7oG6u6X8zs0tKoKE=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=DSKLtnVVYwHNvNzQATctMd0Ti3Zn9Qu06hAk52vkbN1KKwrQlslgAJeq8Qmc8iowD LGsQh1u6XJz2G3sjd8JHoFz3f93LsiQORhyZ9cs4UtjZ85TKeNH7jX+VfK3SoUlkkb KwITC9jxe/mQlqxHJtsIUVIMZgSxw+A3ByW3mB0M= Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by sourceware.org (Postfix) with ESMTPS id E11473894C0F for ; Thu, 17 Dec 2020 15:14:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E11473894C0F IronPort-SDR: z1XT938MPIJX2itR7pzXLgTjdV46LGvnt2+rDEBL8Ky1SYzArMbtJSOBxb5vc14uMRKWFuBemF FslKec3g1C/w== X-IronPort-AV: E=McAfee;i="6000,8403,9837"; a="162314647" X-IronPort-AV: E=Sophos;i="5.78,428,1599548400"; d="scan'208";a="162314647" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2020 07:14:19 -0800 IronPort-SDR: ncd9XKCYnUpLa9D0y+Pg/dG5y/TwwJ2nAqT/S1MyY3lzYxlMBbl3eqfOaBi9PCmk4NGPeKBf17 xBqTe71+4abA== X-IronPort-AV: E=Sophos;i="5.78,428,1599548400"; d="scan'208";a="413433724" Received: from labpc2407.iul.intel.com (HELO localhost) ([172.28.50.61]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2020 07:14:18 -0800 To: gdb-patches@sourceware.org Subject: [PATCH 3/4] testsuite, gdb.btrace: skip multi-inferior.exp on gdbserver targets Date: Thu, 17 Dec 2020 16:12:11 +0100 Message-Id: <20201217151212.1179058-4-markus.t.metzger@intel.com> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201217151212.1179058-1-markus.t.metzger@intel.com> References: <20201217151212.1179058-1-markus.t.metzger@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Markus Metzger via Gdb-patches Reply-To: Markus Metzger Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" The gdb.btrace/multi-inferior.exp test creates multiple inferiors to check that recording is per-inferior. When run with the native-gdbserver board, this test hangs when trying to add the second inferior over the remote connection. Skip the test. Note that the test runs fine with the native-extended-gdbserver board file and we want to keep testing that configuration. gdb/testsuite/ChangeLog: 2020-12-11 Markus Metzger * gdb.btrace/multi-inferior.exp: Skip for gdbserver targets. --- gdb/testsuite/gdb.btrace/multi-inferior.exp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gdb/testsuite/gdb.btrace/multi-inferior.exp b/gdb/testsuite/gdb.btrace/multi-inferior.exp index 23bc852c565..015c46634e5 100644 --- a/gdb/testsuite/gdb.btrace/multi-inferior.exp +++ b/gdb/testsuite/gdb.btrace/multi-inferior.exp @@ -27,6 +27,13 @@ if { [skip_btrace_tests] } { return -1 } +# This test creates multiple inferiors. This won't work with all +# gdbserver board files. +if { [use_gdb_stub] } { + unsupported "test creates multiple inferiors" + return -1 +} + standard_testfile if [prepare_for_testing "failed to prepare" $testfile {} {debug}] { return -1 -- 2.26.2 Intel Deutschland GmbH Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany Tel: +49 89 99 8853-0, www.intel.de Managing Directors: Christin Eisenschmid, Gary Kershaw Chairperson of the Supervisory Board: Nicole Lau Registered Office: Munich Commercial Register: Amtsgericht Muenchen HRB 186928