Index: gdb/testsuite/gdb.python/py-evthreads.exp |
diff --git a/gdb/testsuite/gdb.python/py-evthreads.exp b/gdb/testsuite/gdb.python/py-evthreads.exp |
index 2139c9a6bb88834ab0bcc6c339eab3222521ac8e..98f25015abc7b60684332cba6e17e5eb45a19744 100644 |
--- a/gdb/testsuite/gdb.python/py-evthreads.exp |
+++ b/gdb/testsuite/gdb.python/py-evthreads.exp |
@@ -13,10 +13,6 @@ |
# 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 |
-} |
- |
if {[is_remote target]} { |
# RuntimeError: Could not find event thread |
kfail "python/12966" "Run to breakpoint 1" |
@@ -30,9 +26,7 @@ if { ![support_displaced_stepping] } { |
load_lib gdb-python.exp |
-set testfile "py-evthreads" |
-set srcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile |
set pyfile ${srcdir}/${subdir}/py-events.py |
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { |