From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id 8D2CE3858D20; Fri, 27 Jan 2023 01:29:05 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D2CE3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674782945; bh=LWF5IVw/u6J+F3/1g8rOkM0k/gK8OciUA8DZNn+6Ffk=; h=From:To:Subject:Date:From; b=erfepRmkkvyUkZ4nSCrHiS0FFKruDsii53FSyYXgrnQwMEMyMPgcn2ql3NDnU08ej 1JDsf94l/6yL3XGPLcirzynybEe/D0t3GyVpnXMzvm86TFpXJ0NlAOYzA4yFe+aPUS YnXJsQayL8n5excb/a5DlW1JXVPR6Jnu0pzDJMLw= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Remove some dead code in gdb.fortran/info-types.exp X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 879ebc530082ac9a90a48c0d02c073b39d98a1cc X-Git-Newrev: e1a772ad89bc1103182168b46513900aa035a81e Message-Id: <20230127012905.8D2CE3858D20@sourceware.org> Date: Fri, 27 Jan 2023 01:29:05 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3De1a772ad89bc= 1103182168b46513900aa035a81e commit e1a772ad89bc1103182168b46513900aa035a81e Author: Tom Tromey Date: Wed Jan 25 09:37:25 2023 -0700 Remove some dead code in gdb.fortran/info-types.exp =20 An early "return" in this test case prevents a test from running. This seems to have been intentional and has been in place since: =20 commit d57cbee932f86df06251498daa93154046dc77c0 Author: Andrew Burgess Date: Tue Dec 3 13:18:43 2019 +0000 =20 gdb/testsuite/fortran: Fix info-modules/info-types for gfortran 8+ =20 This patch removes the dead code. Diff: --- gdb/testsuite/gdb.fortran/info-types.exp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/gdb/testsuite/gdb.fortran/info-types.exp b/gdb/testsuite/gdb.f= ortran/info-types.exp index 98fb812dd8b..8cd9a2ae6cb 100644 --- a/gdb/testsuite/gdb.fortran/info-types.exp +++ b/gdb/testsuite/gdb.fortran/info-types.exp @@ -61,20 +61,3 @@ if { [test_compiler_info {gfortran-*} f90] } { setup_xfail *-*-* gcc/105454 GDBInfoSymbols::check_entry "${srcfile}" "41" "Type s1;" } - -return 0 - -gdb_test "info types" \ - [multi_line \ - "All defined types:" \ - "" \ - "File .*:" \ - "\[\t \]+${character1}" \ - "\[\t \]+${integer4}" \ - "(\[\t \]+${integer8}" \ - ")?\[\t \]+${logical4}" \ - "(35:\[\t \]+Type __vtype_mod1_M1t1;" \ - ")?$decimal:\[\t \]+Type m1t1;" \ - "\[\t \]+${real4}" \ - "41:\[\t \]+Type s1;(" \ - ".*)?"]