From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id leaSN17Iu2EgbgAAWB0awg (envelope-from ) for ; Thu, 16 Dec 2021 18:14:38 -0500 Received: by simark.ca (Postfix, from userid 112) id D2B961F0BD; Thu, 16 Dec 2021 18:14:38 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [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 5945C1ECEB for ; Thu, 16 Dec 2021 18:14:38 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BEEB4385841F for ; Thu, 16 Dec 2021 23:14:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BEEB4385841F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1639696477; bh=eDcNl+BviWSXaBIPBIDUvnowbJpnhlLdK+QkPXgLwD8=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=S9J3iGz5pEadLUmAlikxKX6pOGNZ5e6/GXFNs5DZ2tue9pRLHNci5//ld+N2DDa15 6xTDdG0Txh/ky7lgd9YKItuK4jeoYBtrfcNBoOxzK39FCu00k1yo1fAqVILR6XuWzB vvSFo9HNh3Kh2MdeiQ26XBBk2fLT1FYaX7LEKMEA= Received: from lndn.lancelotsix.com (lndn.lancelotsix.com [51.195.220.111]) by sourceware.org (Postfix) with ESMTPS id 0D4203858D28 for ; Thu, 16 Dec 2021 23:14:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0D4203858D28 Received: from Plymouth (unknown [IPv6:2a02:390:9086:0:7c27:fcf5:8e6d:c1bd]) by lndn.lancelotsix.com (Postfix) with ESMTPSA id 373F480D5D; Thu, 16 Dec 2021 23:14:18 +0000 (UTC) Date: Thu, 16 Dec 2021 23:14:14 +0000 To: Pedro Alves Subject: Re: [PATCH 25/29] gdb/testsuite: Remove duplicates from gdb.base/pointers.exp Message-ID: <20211216231414.kgin6p7nndajxpuk@Plymouth> References: <20211121175636.779325-1-lsix@lancelotsix.com> <20211121175636.779325-26-lsix@lancelotsix.com> <1fbd61ac-abbb-16d1-3f14-400d05dc20d5@palves.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1fbd61ac-abbb-16d1-3f14-400d05dc20d5@palves.net> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.11 (lndn.lancelotsix.com [0.0.0.0]); Thu, 16 Dec 2021 23:14:18 +0000 (UTC) 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: Lancelot SIX via Gdb-patches Reply-To: Lancelot SIX Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > > Tail parens bad. :-) > Hi I have used a comas instead of parens. Thanks, Lancelot. --- >From 39203c72a6b7f00975e8b8bc29bcf1b89df0b4b8 Mon Sep 17 00:00:00 2001 From: Lancelot SIX Date: Sun, 21 Nov 2021 01:55:43 +0000 Subject: [PATCH] gdb/testsuite: Remove duplicates from gdb.base/pointers.exp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When I run the testsuite, I have : Running .../gdb/testsuite/gdb.base/pointers.exp ... DUPLICATE: gdb.base/pointers.exp: pointer assignment Fix by adjusting the test names. Tested on x86_64-linux. --- gdb/testsuite/gdb.base/pointers.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.base/pointers.exp b/gdb/testsuite/gdb.base/pointers.exp index fa7531d0f85..9916df942d0 100644 --- a/gdb/testsuite/gdb.base/pointers.exp +++ b/gdb/testsuite/gdb.base/pointers.exp @@ -147,14 +147,14 @@ gdb_test "print v_int_pointer > v_int_pointer2" " = $false" \ gdb_test_no_output "set variable y = *v_int_pointer++" \ "set y = *v_int_pointer++" -gdb_test "print y" " = 6" "pointer assignment" +gdb_test "print y" " = 6" "pointer assignment, after y = *v_int_pointer++" gdb_test "print *v_int_pointer" " = 18" "and post-increment" gdb_test_no_output "set variable y = *--v_int_pointer2" \ "set y = *--v_int_pointer2" -gdb_test "print y" " = 6" "pointer assignment" +gdb_test "print y" " = 6" "pointer assignment, after y = *--v_int_pointer2" gdb_test "print *v_int_pointer2" " = 6" "and pre-decrement" -- 2.34.0