From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id EX/nCjzXRmOzJgsAWB0awg (envelope-from ) for ; Wed, 12 Oct 2022 11:03:24 -0400 Received: by simark.ca (Postfix, from userid 112) id 1CD4B1E112; Wed, 12 Oct 2022 11:03:24 -0400 (EDT) Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=br0agGJV; dkim-atps=neutral X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from sourceware.org (server2.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 C3E111E0CB for ; Wed, 12 Oct 2022 11:03:23 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 279E6385041B for ; Wed, 12 Oct 2022 15:03:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 279E6385041B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665587003; bh=OxpWkjb6yCHVi5l6sUuvU+oK5OTX+WZaFLAF69SJ1bA=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=br0agGJVA0wzoXdOQSpEwDqIekknlAGjxnsTEoxTr/qESHp+DlSGz6K8BoKAtHQO4 GsWpkmw9VMsg6IDvkIaPC/OgrvrgbvzFyEsq8ARkQD+8+xVkFtIp7vXlpHS4S9DP6t Vtav6f6Rq8syRBd0SJd++Ml3jo8dNmHIznSu3mpo= Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 3492A3851400 for ; Wed, 12 Oct 2022 15:03:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 3492A3851400 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3AB1C21B72 for ; Wed, 12 Oct 2022 15:03:02 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 1E60213ACD for ; Wed, 12 Oct 2022 15:03:02 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id KZMmBibXRmMVNAAAMHmgww (envelope-from ) for ; Wed, 12 Oct 2022 15:03:02 +0000 Date: Wed, 12 Oct 2022 17:03:00 +0200 To: gdb-patches@sourceware.org Subject: [committed][gdb/testsuite] Replace remaining -gt with -gctf Message-ID: <20221012150255.GA4984@delia.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) 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: Tom de Vries via Gdb-patches Reply-To: Tom de Vries Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" Hi, With test-cases gdb.base/cvexpr.exp and gdb.base/whatis.exp I run into: ... gdb compile failed, gcc: error: unrecognized debug output level 't' ... This is due to using additional_flags=-gt. Commit ffb3f587933 ("CTF: multi-CU and archive support") replaced additional_flags=-gt with additional_flags=-gctf in gdb.ctf/*.exp and gdb.base/ctf-*.exp. Do the same in these two test-cases. Tested on x86_64-linux. Committed to trunk. Thanks, - Tom [gdb/testsuite] Replace remaining -gt with -gctf --- gdb/testsuite/gdb.base/cvexpr.exp | 2 +- gdb/testsuite/gdb.base/whatis.exp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/gdb.base/cvexpr.exp b/gdb/testsuite/gdb.base/cvexpr.exp index e7ff730e92f..d8437b94c61 100644 --- a/gdb/testsuite/gdb.base/cvexpr.exp +++ b/gdb/testsuite/gdb.base/cvexpr.exp @@ -494,7 +494,7 @@ proc do_test {dir options} { # Build up the set of debug formats for which we will run this test. set specs { {dwarf {debug}} } if ![skip_ctf_tests] { - lappend specs {ctf {"additional_flags=-gt"}} + lappend specs {ctf {"additional_flags=-gctf"}} } # Setup and run the test for each debug format. diff --git a/gdb/testsuite/gdb.base/whatis.exp b/gdb/testsuite/gdb.base/whatis.exp index 2bce3f5cdcb..c19c149f012 100644 --- a/gdb/testsuite/gdb.base/whatis.exp +++ b/gdb/testsuite/gdb.base/whatis.exp @@ -588,7 +588,7 @@ proc do_test {dir options} { # Build up the set of debug formats for which we will run this test. set specs { {dwarf {debug}} } if ![skip_ctf_tests] { - lappend specs {ctf {"additional_flags=-gt"}} + lappend specs {ctf {"additional_flags=-gctf"}} } # Setup and run the test for each debug format.