From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2205) id D3A573851400; Wed, 12 Oct 2022 15:02:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3A573851400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1665586941; bh=LmF1XE5K3alMVrDk6BfTaW/l3zxA+MX6OVdUaj1pZAA=; h=From:To:Subject:Date:From; b=XhyCqUnqzfpodoJcqufCKYTnkm4u5ulnrr8WWo3zos8uuys0Z7P8GguIfh38YxQa7 0GgulZu852FMErOA/98Ordjy+4T4Ep4xdz1XryjmgW+He4jqfs5YiMMyEgnSF2o34e z5qk46trGYQrkrGD6NmC8C3v+20HrBY+N1PIZ3oU= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom de Vries To: gdb-cvs@sourceware.org Subject: [binutils-gdb] [gdb/testsuite] Replace remaining -gt with -gctf X-Act-Checkin: binutils-gdb X-Git-Author: Tom de Vries X-Git-Refname: refs/heads/master X-Git-Oldrev: a2470500432334fe254ef10ddabcab239e8de828 X-Git-Newrev: 3c74d321be66cb94bbdeb7da36111b46d2f4a578 Message-Id: <20221012150221.D3A573851400@sourceware.org> Date: Wed, 12 Oct 2022 15:02:21 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D3c74d321be66= cb94bbdeb7da36111b46d2f4a578 commit 3c74d321be66cb94bbdeb7da36111b46d2f4a578 Author: Tom de Vries Date: Wed Oct 12 17:02:15 2022 +0200 [gdb/testsuite] Replace remaining -gt with -gctf =20 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' ... =20 This is due to using additional_flags=3D-gt. =20 Commit ffb3f587933 ("CTF: multi-CU and archive support") replaced additional_flags=3D-gt with additional_flags=3D-gctf in gdb.ctf/*.exp a= nd gdb.base/ctf-*.exp. =20 Do the same in these two test-cases. =20 Tested on x86_64-linux. Diff: --- 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/cve= xpr.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=3D-gt"}} + lappend specs {ctf {"additional_flags=3D-gctf"}} } =20 # Setup and run the test for each debug format. diff --git a/gdb/testsuite/gdb.base/whatis.exp b/gdb/testsuite/gdb.base/wha= tis.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=3D-gt"}} + lappend specs {ctf {"additional_flags=3D-gctf"}} } =20 # Setup and run the test for each debug format.