[gdb/testsuite] Fix check-read1 FAILs in mi-fortran-modules.exp
authorTom de Vries <tdevries@suse.de>
Sat, 14 Mar 2020 17:03:39 +0000 (18:03 +0100)
committerTom de Vries <tdevries@suse.de>
Sat, 14 Mar 2020 17:03:39 +0000 (18:03 +0100)
commitab44624cea74dca3e6d19c3275d9d5a8d381c084
tree7b2f617a4ee0533a31ebce11955def2d66f3aa16
parent154151a6e303fa4b17e3597e3434a1c5999df8e1
[gdb/testsuite] Fix check-read1 FAILs in mi-fortran-modules.exp

When running test-case gdb.mi/mi-fortran-modules.exp with check-read1, I run
into:
...
FAIL: gdb.mi/mi-fortran-modules.exp: -symbol-info-module-functions (timeout)
FAIL: gdb.mi/mi-fortran-modules.exp: -symbol-info-module-functions \
  --name _all (unexpected output)
FAIL: gdb.mi/mi-fortran-modules.exp: -symbol-info-module-functions \
  --module mod[123] (unexpected output)
FAIL: gdb.mi/mi-fortran-modules.exp: -symbol-info-module-variables \
  (unexpected output)
...

Fix this by using exp_continue.

Tested on x86_64, using make target check and check-read1.

gdb/testsuite/ChangeLog:

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

* gdb.mi/mi-fortran-modules.exp: Use exp_continue.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-fortran-modules.exp