Fix gdb.fortran/array-element.exp failures.
authorGabriel Krisman Bertazi <gabriel@krisman.be>
Thu, 11 Sep 2014 03:03:35 +0000 (00:03 -0300)
committerGabriel Krisman Bertazi <gabriel@krisman.be>
Thu, 11 Sep 2014 03:14:39 +0000 (00:14 -0300)
commit3adc1a7d457d7fcdc413b970f1ed02b0925e6da8
tree0981b1f782f4af582843cf381528a0d67bfc7ddb
parent9b5d451f417a5a0b88e861b2249f75024b7ac57d
Fix gdb.fortran/array-element.exp failures.

This fixes two FAIL results on this testcase which were caused by a
misplaced "continue" command.  This testcase used to end inferior's
execution too soon, causing the following tests to fail.  Now we break
right after inferior's loop and perform the rest of the tests there.

gdb/testsuite/ChangeLog:

* gdb.fortran/array-element.exp: Remove unexpected "continue"
command in testcase.  Simplify testcase.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.fortran/array-element.exp