diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5f1b04f6c3..6c025832e3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-05-14 Tom de Vries + + * gdb.fortran/nested-funcs-2.exp: Use gdb_test_stdio to test inferior + output. + 2020-05-14 Tom de Vries * gdb.base/align.exp: Split into ... diff --git a/gdb/testsuite/gdb.fortran/nested-funcs-2.exp b/gdb/testsuite/gdb.fortran/nested-funcs-2.exp index 724be74ff8..4e517bba2f 100644 --- a/gdb/testsuite/gdb.fortran/nested-funcs-2.exp +++ b/gdb/testsuite/gdb.fortran/nested-funcs-2.exp @@ -89,7 +89,7 @@ proc do_bp_tests {with_src_prefix_p with_nest_prefix_p} { # Call a contained function. if { ${with_nest_prefix_p} } { - gdb_test "call ${nest_prefix}subroutine_to_call()" " called" + gdb_test_stdio "call ${nest_prefix}subroutine_to_call()" " called" "" } # Break on another contained function and run to it.