Index: gdb/testsuite/gdb.python/py-infthread.exp |
diff --git a/gdb/testsuite/gdb.python/py-infthread.exp b/gdb/testsuite/gdb.python/py-infthread.exp |
index 756a7d3aa6e82e36f68e6664116674b6c0df5b83..0ddc912492b3c87e033916bf89db46fbe616d214 100644 |
--- a/gdb/testsuite/gdb.python/py-infthread.exp |
+++ b/gdb/testsuite/gdb.python/py-infthread.exp |
@@ -16,14 +16,10 @@ |
# This file is part of the GDB testsuite. It tests the mechanism |
# exposing inferior threads to Python. |
-if $tracelevel then { |
- strace $tracelevel |
-} |
- |
load_lib gdb-python.exp |
-set testfile "py-infthread" |
-set srcfile ${testfile}.c |
+standard_testfile |
+ |
if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}] } { |
return -1 |
} |
@@ -41,8 +37,6 @@ if ![runto_main] then { |
return 0 |
} |
-runto [gdb_get_line_number "Break here."] |
- |
# Test basic gdb.Inferior attributes and methods. |
gdb_py_test_silent_cmd "python t0 = gdb.selected_thread ()" "test gdb.selected_thread" 1 |