diff options
Diffstat (limited to 'gdb/testsuite/gdb.pascal/hello.exp')
-rw-r--r-- | gdb/testsuite/gdb.pascal/hello.exp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.pascal/hello.exp b/gdb/testsuite/gdb.pascal/hello.exp index 0329acbb1c6..cd0fce6e3d0 100644 --- a/gdb/testsuite/gdb.pascal/hello.exp +++ b/gdb/testsuite/gdb.pascal/hello.exp @@ -15,18 +15,13 @@ load_lib "pascal.exp" -set testfile "hello" -set srcfile ${testfile}.pas -set binfile ${objdir}/${subdir}/${testfile}${EXEEXT} +standard_testfile .pas if {[gdb_compile_pascal "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug ]] != "" } { return -1 } -gdb_exit -gdb_start -gdb_reinitialize_dir $srcdir/$subdir -gdb_load ${binfile} +clean_restart ${testfile} set bp_location1 [gdb_get_line_number "set breakpoint 1 here"] set bp_location2 [gdb_get_line_number "set breakpoint 2 here"] |