Index: gdb/testsuite/gdb.pascal/floats.exp |
diff --git a/gdb/testsuite/gdb.pascal/floats.exp b/gdb/testsuite/gdb.pascal/floats.exp |
index 6668666fde598809d0a0f8bc25f04fb37356e845..1bde7fa7e91529f54ea62da585927fb467258545 100644 |
--- a/gdb/testsuite/gdb.pascal/floats.exp |
+++ b/gdb/testsuite/gdb.pascal/floats.exp |
@@ -13,24 +13,17 @@ |
# You should have received a copy of the GNU General Public License |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
load_lib "pascal.exp" |
-set testfile "floats" |
-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 |
+ untested $testfile.exp |
+ 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"] |