diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-25 09:37:25 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-26 18:28:31 -0700 |
commit | e1a772ad89bc1103182168b46513900aa035a81e (patch) | |
tree | 4388a426a4effda4d203e80e0998a81d0bce8c01 /gdb/testsuite | |
parent | 879ebc530082ac9a90a48c0d02c073b39d98a1cc (diff) | |
download | gdb-e1a772ad89bc1103182168b46513900aa035a81e.zip gdb-e1a772ad89bc1103182168b46513900aa035a81e.tar.gz gdb-e1a772ad89bc1103182168b46513900aa035a81e.tar.bz2 |
Remove some dead code in gdb.fortran/info-types.exp
An early "return" in this test case prevents a test from running.
This seems to have been intentional and has been in place since:
commit d57cbee932f86df06251498daa93154046dc77c0
Author: Andrew Burgess <andrew.burgess@embecosm.com>
Date: Tue Dec 3 13:18:43 2019 +0000
gdb/testsuite/fortran: Fix info-modules/info-types for gfortran 8+
This patch removes the dead code.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/gdb.fortran/info-types.exp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/testsuite/gdb.fortran/info-types.exp b/gdb/testsuite/gdb.fortran/info-types.exp index 98fb812..8cd9a2a 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;(" \ - ".*)?"] |