binutils-gdb/gdb/testsuite/gdb.fortran
Tom de Vries 02eba61aa6 [gdb/testsuite] Fix gdb.fortran/nested-funcs-2.exp with gdbserver
When running test-case gdb.fortran/nested-funcs-2.exp with target board
native-gdbserver, we have:
...
(gdb) call contains_keyword::subroutine_to_call()^M
(gdb) FAIL: gdb.fortran/nested-funcs-2.exp: src_prefix=0: nest_prefix=1: \
  call contains_keyword::subroutine_to_call()
...

This is caused by the fact that we're trying to match inferior output using
gdb_test.

Fix this by using gdb_test_stdio instead.

Tested on x86_64-linux.

gdb/testsuite/ChangeLog:

2020-05-14  Tom de Vries  <tdevries@suse.de>

	* gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior
	output.
2020-05-14 17:24:49 +02:00
..
array-bounds-high.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
array-bounds-high.f90
array-bounds.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
array-bounds.f90
array-element.exp
array-element.f
array-slices.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
array-slices.f90
block-data.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
block-data.f
charset.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
charset.f90
common-block.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
common-block.f90
complex.exp [gdb/testsuite] Fix duplicate test-names in gdb.fortran 2020-05-12 10:53:47 +02:00
complex.f90
derived-type-function.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
derived-type-function.f90
derived-type-striding.exp
derived-type-striding.f90
derived-type.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
derived-type.f90
dot-ops.exp
exprs.exp
function-calls.exp
function-calls.f90
info-modules.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
info-types-2.f90
info-types.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
info-types.f90
intrinsics.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
intrinsics.f90
library-module-lib.f90
library-module-main.f90
library-module.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
logical.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
logical.f90
max-depth.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
max-depth.f90
mixed-lang-stack.c
mixed-lang-stack.cpp
mixed-lang-stack.exp
mixed-lang-stack.f90
module.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
module.f90
multi-dim.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
multi-dim.f90
nested-funcs-2.exp [gdb/testsuite] Fix gdb.fortran/nested-funcs-2.exp with gdbserver 2020-05-14 17:24:49 +02:00
nested-funcs-2.f90
nested-funcs.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
nested-funcs.f90
pointers.f90
print_type.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
print-formatted.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
print-formatted.f90
printing-types.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
printing-types.f90
ptr-indentation.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
ptr-indentation.f90
ptype-on-functions.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
ptype-on-functions.f90
short-circuit-argument-list.exp
short-circuit-argument-list.f90
subarray.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
subarray.f
type-kinds.exp
type.f90
types.exp
vla-alloc-assoc.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-datatypes.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-datatypes.f90
vla-history.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-ptr-info.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-ptype-sub.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-ptype.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-sizeof.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-sub.f90
vla-type.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-type.f90
vla-value-sub-arbitrary.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-value-sub-finish.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-value-sub.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla-value.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30
vla.f90
whatis_type.exp gdb/fortran: Allow Flang MAIN_ in Fortran testing 2020-05-11 00:48:10 +05:30