Index: gdb/testsuite/gdb.pascal/gdb11492.exp |
diff --git a/gdb/testsuite/gdb.pascal/gdb11492.exp b/gdb/testsuite/gdb.pascal/gdb11492.exp |
index 0d03522e4b767c0be0293e2aeb9fd4e7f5447738..d232ddc2c093f4ac129f4dedcb7f94ecf4834823 100644 |
--- a/gdb/testsuite/gdb.pascal/gdb11492.exp |
+++ b/gdb/testsuite/gdb.pascal/gdb11492.exp |
@@ -13,24 +13,16 @@ |
# 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 "gdb11492" |
-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"] |
if { [gdb_breakpoint ${srcfile}:${bp_location1}] } { |