diff options
Diffstat (limited to 'gdb/testsuite/gdb.python')
27 files changed, 0 insertions, 108 deletions
diff --git a/gdb/testsuite/gdb.python/lib-types.exp b/gdb/testsuite/gdb.python/lib-types.exp index ff14421349c..6be49e1a9f8 100644 --- a/gdb/testsuite/gdb.python/lib-types.exp +++ b/gdb/testsuite/gdb.python/lib-types.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. # It tests the types.py module. -if $tracelevel then { - strace $tracelevel -} - load_lib gdb-python.exp set testfile "lib-types" diff --git a/gdb/testsuite/gdb.python/py-block.exp b/gdb/testsuite/gdb.python/py-block.exp index 4b995da1709..413e2e25b5c 100644 --- a/gdb/testsuite/gdb.python/py-block.exp +++ b/gdb/testsuite/gdb.python/py-block.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 -} - load_lib gdb-python.exp set testfile "py-block" diff --git a/gdb/testsuite/gdb.python/py-breakpoint.exp b/gdb/testsuite/gdb.python/py-breakpoint.exp index 8ed374272b9..f3d409ecf66 100644 --- a/gdb/testsuite/gdb.python/py-breakpoint.exp +++ b/gdb/testsuite/gdb.python/py-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 -} - load_lib gdb-python.exp set testfile "py-breakpoint" diff --git a/gdb/testsuite/gdb.python/py-cmd.exp b/gdb/testsuite/gdb.python/py-cmd.exp index 976adf67ba2..fc7cac0d743 100644 --- a/gdb/testsuite/gdb.python/py-cmd.exp +++ b/gdb/testsuite/gdb.python/py-cmd.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. It tests the mechanism # for defining new GDB commands in Python. -if $tracelevel then { - strace $tracelevel -} - load_lib gdb-python.exp # Start with a fresh gdb. diff --git a/gdb/testsuite/gdb.python/py-events.exp b/gdb/testsuite/gdb.python/py-events.exp index 0715d3ccfac..18d3380efb6 100644 --- a/gdb/testsuite/gdb.python/py-events.exp +++ b/gdb/testsuite/gdb.python/py-events.exp @@ -17,10 +17,6 @@ if [target_info exists use_gdb_stub] { return 0 } -if $tracelevel then { - strace $tracelevel -} - load_lib gdb-python.exp set libfile "py-events-shlib" diff --git a/gdb/testsuite/gdb.python/py-evsignal.exp b/gdb/testsuite/gdb.python/py-evsignal.exp index 35abddceef6..d3f819a1054 100644 --- a/gdb/testsuite/gdb.python/py-evsignal.exp +++ b/gdb/testsuite/gdb.python/py-evsignal.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" "Signal Thread 3" diff --git a/gdb/testsuite/gdb.python/py-evthreads.exp b/gdb/testsuite/gdb.python/py-evthreads.exp index 2139c9a6bb8..8b540bd0d9b 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" diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint.exp index 96ff9715975..c601e85377a 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 diff --git a/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp b/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp index 9e65d6c13ee..3174be1916f 100644 --- a/gdb/testsuite/gdb.python/py-finish-breakpoint2.exp +++ b/gdb/testsuite/gdb.python/py-finish-breakpoint2.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 -} - load_lib gdb-python.exp set testfile "py-finish-breakpoint2" diff --git a/gdb/testsuite/gdb.python/py-frame.exp b/gdb/testsuite/gdb.python/py-frame.exp index f3cb069f5f7..83ff8fe78bc 100644 --- a/gdb/testsuite/gdb.python/py-frame.exp +++ b/gdb/testsuite/gdb.python/py-frame.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 -} - load_lib gdb-python.exp set testfile "py-frame" diff --git a/gdb/testsuite/gdb.python/py-function.exp b/gdb/testsuite/gdb.python/py-function.exp index f813254ac05..b0b35b74852 100644 --- a/gdb/testsuite/gdb.python/py-function.exp +++ b/gdb/testsuite/gdb.python/py-function.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. It tests the mechanism # exposing convenience functions to Python. -if $tracelevel then { - strace $tracelevel -} - load_lib gdb-python.exp # Start with a fresh gdb. diff --git a/gdb/testsuite/gdb.python/py-inferior.exp b/gdb/testsuite/gdb.python/py-inferior.exp index 68381381f98..ef737a4bddb 100644 --- a/gdb/testsuite/gdb.python/py-inferior.exp +++ b/gdb/testsuite/gdb.python/py-inferior.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. It tests the mechanism # exposing inferiors to Python. -if $tracelevel then { - strace $tracelevel -} - load_lib gdb-python.exp set testfile "py-inferior" diff --git a/gdb/testsuite/gdb.python/py-infthread.exp b/gdb/testsuite/gdb.python/py-infthread.exp index 756a7d3aa6e..5fa508f0a6c 100644 --- a/gdb/testsuite/gdb.python/py-infthread.exp +++ b/gdb/testsuite/gdb.python/py-infthread.exp @@ -16,10 +16,6 @@ # 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" diff --git a/gdb/testsuite/gdb.python/py-objfile-script.exp b/gdb/testsuite/gdb.python/py-objfile-script.exp index 2d6260cdd6e..49632065a1a 100644 --- a/gdb/testsuite/gdb.python/py-objfile-script.exp +++ b/gdb/testsuite/gdb.python/py-objfile-script.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. It tests automagic loading of # -gdb.py scripts. -if $tracelevel then { - strace $tracelevel -} - set testfile "py-objfile-script" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} diff --git a/gdb/testsuite/gdb.python/py-objfile.exp b/gdb/testsuite/gdb.python/py-objfile.exp index ca7471862bb..c277c5947f0 100644 --- a/gdb/testsuite/gdb.python/py-objfile.exp +++ b/gdb/testsuite/gdb.python/py-objfile.exp @@ -16,10 +16,6 @@ # 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" diff --git a/gdb/testsuite/gdb.python/py-parameter.exp b/gdb/testsuite/gdb.python/py-parameter.exp index 2985d687638..08538ead464 100644 --- a/gdb/testsuite/gdb.python/py-parameter.exp +++ b/gdb/testsuite/gdb.python/py-parameter.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. # It tests gdb.parameter and gdb.Parameter. -if $tracelevel then { - strace $tracelevel -} - load_lib gdb-python.exp # Start with a fresh gdb. diff --git a/gdb/testsuite/gdb.python/py-pp-maint.exp b/gdb/testsuite/gdb.python/py-pp-maint.exp index 1a2b2133bcc..3115b56e801 100644 --- a/gdb/testsuite/gdb.python/py-pp-maint.exp +++ b/gdb/testsuite/gdb.python/py-pp-maint.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. It tests Python-based # pretty-printing for the CLI. -if $tracelevel then { - strace $tracelevel -} - if [is_remote host] { untested "py-pp-maint.exp can only be run locally" return -1 diff --git a/gdb/testsuite/gdb.python/py-prettyprint.exp b/gdb/testsuite/gdb.python/py-prettyprint.exp index dc4116be297..e61422a3a64 100644 --- a/gdb/testsuite/gdb.python/py-prettyprint.exp +++ b/gdb/testsuite/gdb.python/py-prettyprint.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. It tests Python-based # pretty-printing for the CLI. -if $tracelevel then { - strace $tracelevel -} - load_lib gdb-python.exp set testfile "py-prettyprint" diff --git a/gdb/testsuite/gdb.python/py-progspace.exp b/gdb/testsuite/gdb.python/py-progspace.exp index 1d08325f2b6..c53cf37c0fe 100644 --- a/gdb/testsuite/gdb.python/py-progspace.exp +++ b/gdb/testsuite/gdb.python/py-progspace.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. It tests the program space # support in Python. -if $tracelevel then { - strace $tracelevel -} - set testfile "py-progspace" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} diff --git a/gdb/testsuite/gdb.python/py-prompt.exp b/gdb/testsuite/gdb.python/py-prompt.exp index 4d710905bf8..eacb074d2f2 100644 --- a/gdb/testsuite/gdb.python/py-prompt.exp +++ b/gdb/testsuite/gdb.python/py-prompt.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. It tests the mechanism # for defining the prompt in Python. -if $tracelevel then { - strace $tracelevel -} - set testfile "py-prompt" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} diff --git a/gdb/testsuite/gdb.python/py-section-script.exp b/gdb/testsuite/gdb.python/py-section-script.exp index 56fd792cc9c..9846ce861e3 100644 --- a/gdb/testsuite/gdb.python/py-section-script.exp +++ b/gdb/testsuite/gdb.python/py-section-script.exp @@ -29,10 +29,6 @@ if {![istarget *-*-linux*] return } -if $tracelevel then { - strace $tracelevel -} - set testfile "py-section-script" set srcfile ${testfile}.c set binfile ${objdir}/${subdir}/${testfile} diff --git a/gdb/testsuite/gdb.python/py-symbol.exp b/gdb/testsuite/gdb.python/py-symbol.exp index aa952fb45b7..b0e73c37b36 100644 --- a/gdb/testsuite/gdb.python/py-symbol.exp +++ b/gdb/testsuite/gdb.python/py-symbol.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 -} - load_lib gdb-python.exp set testfile "py-symbol" diff --git a/gdb/testsuite/gdb.python/py-symtab.exp b/gdb/testsuite/gdb.python/py-symtab.exp index 1e55fd3d944..f64cb57b3dd 100644 --- a/gdb/testsuite/gdb.python/py-symtab.exp +++ b/gdb/testsuite/gdb.python/py-symtab.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 -} - load_lib gdb-python.exp set testfile "py-symbol" diff --git a/gdb/testsuite/gdb.python/py-template.exp b/gdb/testsuite/gdb.python/py-template.exp index 5fc82343470..8805611da53 100644 --- a/gdb/testsuite/gdb.python/py-template.exp +++ b/gdb/testsuite/gdb.python/py-template.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_cplus_tests] } { continue } set testfile "py-template" diff --git a/gdb/testsuite/gdb.python/py-type.exp b/gdb/testsuite/gdb.python/py-type.exp index 93990a9ed33..e4729ad1342 100644 --- a/gdb/testsuite/gdb.python/py-type.exp +++ b/gdb/testsuite/gdb.python/py-type.exp @@ -16,10 +16,6 @@ # This file is part of the GDB testsuite. It tests the mechanism # of exposing types to Python. -if $tracelevel then { - strace $tracelevel -} - load_lib gdb-python.exp set testfile "py-type" diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index 038361eb02d..c9d8c97f5c3 100644 --- a/gdb/testsuite/gdb.python/py-value.exp +++ b/gdb/testsuite/gdb.python/py-value.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 -} - load_lib gdb-python.exp set testfile "py-value" diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp index 42036dfa693..2708dcc663c 100644 --- a/gdb/testsuite/gdb.python/python.exp +++ b/gdb/testsuite/gdb.python/python.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 -} - load_lib gdb-python.exp set testfile "python" |