Index: gdb/testsuite/gdb.python/py-finish-breakpoint.exp |
diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp |
index 96ff9715975912eb76be52445324b00e064b922e..d521021918edae8b96ac752d1e0c1d8252df4d35 100644 |
--- a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp |
+++ b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp |
@@ -16,10 +16,6 @@ |
# This file is part of the GDB testsuite. It tests the mechanism |
# exposing values to Python. |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
if {[skip_shlib_tests]} { |
untested py-finish-breakpoint.exp |
return 0 |
@@ -29,15 +25,13 @@ load_lib gdb-python.exp |
set libfile "py-events-shlib" |
set libsrc $srcdir/$subdir/$libfile.c |
-set lib_sl $objdir/$subdir/$libfile-nodebug.so |
+set lib_sl [standard_output_file $libfile-nodebug.so] |
set lib_opts "" |
-set testfile "py-finish-breakpoint" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile |
set exec_opts [list debug shlib=$lib_sl] |
-if [get_compiler_info ${binfile}] { |
+if [get_compiler_info] { |
return -1 |
} |