binutils-gdb/gdb/testsuite/gdb.fortran
Tom de Vries 062f1fc13a [gdb/testsuite] Fix gdb.fortran/module.exp for debug info from other files
On openSUSE Leap 15.1, I get:
...
FAIL: gdb.fortran/module.exp: info variables -n
...
because the info variables command prints info also for init.c:
...
File init.c:^M
24:     const int _IO_stdin_used;^M
...
while the regexps in the test-case only expect info for module.f90.

Fix this by extending the regexps.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2019-10-17  Tom de Vries  <tdevries@suse.de>

	* gdb.fortran/module.exp: Allow info variables to print info for files
	other than module.f90.

Change-Id: I401d8018b121fc7343f6bc8b671900349462457f
2019-10-17 10:07:05 +02:00
..
array-bounds.exp
array-bounds.f90
array-element.exp
array-element.f
block-data.exp
block-data.f
charset.exp
charset.f90
common-block.exp
common-block.f90
complex.exp
complex.f90
derived-type-function.exp
derived-type-function.f90
derived-type.exp
derived-type.f90
dot-ops.exp
exprs.exp
function-calls.exp
function-calls.f90
info-types.exp [gdb/testsuite] Fix gdb.fortran/info-types.exp regexp 2019-08-29 14:43:11 +02:00
info-types.f90
intrinsics.exp
intrinsics.f90
library-module-lib.f90
library-module-main.f90
library-module.exp
logical.exp
logical.f90
max-depth.exp
max-depth.f90
module.exp [gdb/testsuite] Fix gdb.fortran/module.exp for debug info from other files 2019-10-17 10:07:05 +02:00
module.f90
multi-dim.exp
multi-dim.f90
nested-funcs-2.exp gdb/fortran: Allow for matching symbols with missing scope 2019-10-03 21:25:22 +01:00
nested-funcs-2.f90 gdb/fortran: Nested subroutine support 2019-10-03 21:25:22 +01:00
nested-funcs.exp gdb/fortran: Nested subroutine support 2019-10-03 21:25:22 +01:00
nested-funcs.f90 gdb/fortran: Nested subroutine support 2019-10-03 21:25:22 +01:00
pointers.f90
print-formatted.exp
print-formatted.f90
print_type.exp
printing-types.exp
printing-types.f90
ptr-indentation.exp
ptr-indentation.f90
ptype-on-functions.exp
ptype-on-functions.f90
short-circuit-argument-list.exp
short-circuit-argument-list.f90
subarray.exp
subarray.f
type-kinds.exp
type.f90
types.exp
vla-alloc-assoc.exp
vla-datatypes.exp
vla-datatypes.f90
vla-history.exp
vla-ptr-info.exp
vla-ptype-sub.exp
vla-ptype.exp
vla-sizeof.exp
vla-sub.f90
vla-type.exp
vla-type.f90
vla-value-sub-arbitrary.exp
vla-value-sub-finish.exp
vla-value-sub.exp
vla-value.exp
vla.f90
whatis_type.exp