diff options
Diffstat (limited to 'gdb/testsuite/gdb.fortran/logical.exp')
-rw-r--r-- | gdb/testsuite/gdb.fortran/logical.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.fortran/logical.exp b/gdb/testsuite/gdb.fortran/logical.exp index 324714fa49e..161bbdd9081 100644 --- a/gdb/testsuite/gdb.fortran/logical.exp +++ b/gdb/testsuite/gdb.fortran/logical.exp @@ -16,13 +16,14 @@ # This file was written by Jan Kratochvil <jan.kratochvil@redhat.com>. standard_testfile .f90 +load_lib fortran.exp if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug f90 quiet}]} { return -1 } -if { ![runto MAIN__] } { - perror "Could not run to breakpoint `MAIN__'." +if { ![fortran_runto_main] } { + perror "Could not run to main." continue } |