Index: gdb/testsuite/gdb.python/py-objfile.exp |
diff --git a/gdb/testsuite/gdb.python/py-objfile.exp b/gdb/testsuite/gdb.python/py-objfile.exp |
index ca7471862bb6b53e1b64f9c3fb9633b8d1431cd4..cbd0f87c3368ae07497f6639da46fd5378b2dc80 100644 |
--- a/gdb/testsuite/gdb.python/py-objfile.exp |
+++ b/gdb/testsuite/gdb.python/py-objfile.exp |
@@ -16,14 +16,9 @@ |
# This file is part of the GDB testsuite. It tests the program space |
# support in Python. |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
load_lib gdb-python.exp |
-set testfile "py-objfile" |
-set srcfile ${testfile}.c |
+standard_testfile |
if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { |
return -1 |