Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Unified Diff: gdb/testsuite/gdb.python/py-infthread.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.python/py-inferior.exp ('k') | gdb/testsuite/gdb.python/py-mi.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « gdb/testsuite/gdb.python/py-inferior.exp ('k') | gdb/testsuite/gdb.python/py-mi.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698