summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2012-01-16 16:21:53 +0000
committerPedro Alves <palves@redhat.com>2012-01-16 16:21:53 +0000
commit97ccebe869a69550b5a89a59b99955fb783f2b81 (patch)
treeb6780c16d8bbdde33d189466aa17d37c699ce4a1 /gdb/testsuite/gdb.cp
parentddb1377cc0daa352458911e38a536c9ce33dec85 (diff)
downloadbinutils-gdb-97ccebe869a69550b5a89a59b99955fb783f2b81.tar.gz
2012-01-16 Pedro Alves <palves@redhat.com>
Remove all calls to strace.
Diffstat (limited to 'gdb/testsuite/gdb.cp')
-rw-r--r--gdb/testsuite/gdb.cp/ambiguous.exp4
-rw-r--r--gdb/testsuite/gdb.cp/annota2.exp4
-rw-r--r--gdb/testsuite/gdb.cp/annota3.exp4
-rw-r--r--gdb/testsuite/gdb.cp/anon-union.exp4
-rw-r--r--gdb/testsuite/gdb.cp/arg-reference.exp4
-rw-r--r--gdb/testsuite/gdb.cp/bool.exp4
-rw-r--r--gdb/testsuite/gdb.cp/breakpoint.exp4
-rw-r--r--gdb/testsuite/gdb.cp/bs15503.exp4
-rw-r--r--gdb/testsuite/gdb.cp/call-c.exp4
-rw-r--r--gdb/testsuite/gdb.cp/casts.exp4
-rw-r--r--gdb/testsuite/gdb.cp/class2.exp4
-rw-r--r--gdb/testsuite/gdb.cp/classes.exp4
-rw-r--r--gdb/testsuite/gdb.cp/cpcompletion.exp4
-rw-r--r--gdb/testsuite/gdb.cp/cpexprs.exp4
-rw-r--r--gdb/testsuite/gdb.cp/cplusfuncs.exp4
-rw-r--r--gdb/testsuite/gdb.cp/ctti.exp4
-rw-r--r--gdb/testsuite/gdb.cp/demangle.exp4
-rw-r--r--gdb/testsuite/gdb.cp/derivation.exp4
-rw-r--r--gdb/testsuite/gdb.cp/exception.exp4
-rw-r--r--gdb/testsuite/gdb.cp/formatted-ref.exp4
-rw-r--r--gdb/testsuite/gdb.cp/gdb1355.exp4
-rw-r--r--gdb/testsuite/gdb.cp/gdb2384.exp4
-rw-r--r--gdb/testsuite/gdb.cp/gdb2495.exp4
-rw-r--r--gdb/testsuite/gdb.cp/hang.exp4
-rw-r--r--gdb/testsuite/gdb.cp/inherit.exp4
-rw-r--r--gdb/testsuite/gdb.cp/local.exp4
-rw-r--r--gdb/testsuite/gdb.cp/m-data.exp4
-rw-r--r--gdb/testsuite/gdb.cp/m-static.exp4
-rw-r--r--gdb/testsuite/gdb.cp/maint.exp4
-rw-r--r--gdb/testsuite/gdb.cp/mb-ctor.exp4
-rw-r--r--gdb/testsuite/gdb.cp/mb-inline.exp4
-rw-r--r--gdb/testsuite/gdb.cp/mb-templates.exp4
-rw-r--r--gdb/testsuite/gdb.cp/member-ptr.exp4
-rw-r--r--gdb/testsuite/gdb.cp/method.exp4
-rw-r--r--gdb/testsuite/gdb.cp/misc.exp4
-rw-r--r--gdb/testsuite/gdb.cp/namespace-nested-import.exp4
-rw-r--r--gdb/testsuite/gdb.cp/namespace.exp4
-rw-r--r--gdb/testsuite/gdb.cp/nextoverthrow.exp4
-rw-r--r--gdb/testsuite/gdb.cp/nsdecl.exp4
-rw-r--r--gdb/testsuite/gdb.cp/nsimport.exp4
-rw-r--r--gdb/testsuite/gdb.cp/nsrecurs.exp4
-rw-r--r--gdb/testsuite/gdb.cp/nsstress.exp4
-rw-r--r--gdb/testsuite/gdb.cp/nsusing.exp4
-rw-r--r--gdb/testsuite/gdb.cp/overload.exp4
-rw-r--r--gdb/testsuite/gdb.cp/ovldbreak.exp4
-rw-r--r--gdb/testsuite/gdb.cp/pr-1023.exp4
-rw-r--r--gdb/testsuite/gdb.cp/pr-1210.exp4
-rw-r--r--gdb/testsuite/gdb.cp/pr-574.exp4
-rw-r--r--gdb/testsuite/gdb.cp/printmethod.exp4
-rw-r--r--gdb/testsuite/gdb.cp/psmang.exp4
-rw-r--r--gdb/testsuite/gdb.cp/punctuator.exp4
-rw-r--r--gdb/testsuite/gdb.cp/ref-params.exp4
-rw-r--r--gdb/testsuite/gdb.cp/ref-types.exp4
-rw-r--r--gdb/testsuite/gdb.cp/rtti.exp4
-rw-r--r--gdb/testsuite/gdb.cp/shadow.exp4
-rw-r--r--gdb/testsuite/gdb.cp/temargs.exp4
-rw-r--r--gdb/testsuite/gdb.cp/templates.exp4
-rw-r--r--gdb/testsuite/gdb.cp/try_catch.exp4
-rw-r--r--gdb/testsuite/gdb.cp/userdef.exp4
-rw-r--r--gdb/testsuite/gdb.cp/virtfunc.exp4
60 files changed, 0 insertions, 240 deletions
diff --git a/gdb/testsuite/gdb.cp/ambiguous.exp b/gdb/testsuite/gdb.cp/ambiguous.exp
index b03eb8cad14..539b32de09b 100644
--- a/gdb/testsuite/gdb.cp/ambiguous.exp
+++ b/gdb/testsuite/gdb.cp/ambiguous.exp
@@ -21,10 +21,6 @@
# This file is part of the gdb testsuite
-if $tracelevel then {
- strace $tracelevel
- }
-
#
# test running programs
#
diff --git a/gdb/testsuite/gdb.cp/annota2.exp b/gdb/testsuite/gdb.cp/annota2.exp
index 99e396dac4d..41e1cc52857 100644
--- a/gdb/testsuite/gdb.cp/annota2.exp
+++ b/gdb/testsuite/gdb.cp/annota2.exp
@@ -15,10 +15,6 @@
# This file was written by Elena Zannoni (ezannoni@cygnus.com)
-if $tracelevel then {
- strace $tracelevel
-}
-
#
# test running programs
diff --git a/gdb/testsuite/gdb.cp/annota3.exp b/gdb/testsuite/gdb.cp/annota3.exp
index 40036292d4d..112fb85f31c 100644
--- a/gdb/testsuite/gdb.cp/annota3.exp
+++ b/gdb/testsuite/gdb.cp/annota3.exp
@@ -15,10 +15,6 @@
# This file was written by Elena Zannoni (ezannoni@cygnus.com)
-if $tracelevel then {
- strace $tracelevel
-}
-
#
# test running programs
diff --git a/gdb/testsuite/gdb.cp/anon-union.exp b/gdb/testsuite/gdb.cp/anon-union.exp
index a8db27576db..fe30ef1f193 100644
--- a/gdb/testsuite/gdb.cp/anon-union.exp
+++ b/gdb/testsuite/gdb.cp/anon-union.exp
@@ -19,10 +19,6 @@
# This file is part of the gdb testsuite
-if $tracelevel then {
- strace $tracelevel
- }
-
#
# test running programs
#
diff --git a/gdb/testsuite/gdb.cp/arg-reference.exp b/gdb/testsuite/gdb.cp/arg-reference.exp
index 6c59cdc650e..9eb39856ffe 100644
--- a/gdb/testsuite/gdb.cp/arg-reference.exp
+++ b/gdb/testsuite/gdb.cp/arg-reference.exp
@@ -21,10 +21,6 @@
# Test G++ has compiled debuginfo without a C++ '&' reference where it should
# not be. GCC Bug 33537.
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/bool.exp b/gdb/testsuite/gdb.cp/bool.exp
index e33ebe9b2f3..9bf1810192b 100644
--- a/gdb/testsuite/gdb.cp/bool.exp
+++ b/gdb/testsuite/gdb.cp/bool.exp
@@ -18,10 +18,6 @@
# This file is part of the gdb testsuite.
-if $tracelevel then {
- strace $tracelevel
-}
-
# Test returning bool.
if { [skip_cplus_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/breakpoint.exp b/gdb/testsuite/gdb.cp/breakpoint.exp
index 1072ff02871..53b29c35539 100644
--- a/gdb/testsuite/gdb.cp/breakpoint.exp
+++ b/gdb/testsuite/gdb.cp/breakpoint.exp
@@ -17,10 +17,6 @@
# This contains tests for breakpoints in C++.
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_cplus_tests] } { continue }
#
diff --git a/gdb/testsuite/gdb.cp/bs15503.exp b/gdb/testsuite/gdb.cp/bs15503.exp
index 23df2427f0e..95b4b4e619c 100644
--- a/gdb/testsuite/gdb.cp/bs15503.exp
+++ b/gdb/testsuite/gdb.cp/bs15503.exp
@@ -17,10 +17,6 @@
# This file was written by Sue Kimura (sue_kimura@hp.com)
# Rewritten by Michael Chastain (mec.gnu@mindspring.com)
-if $tracelevel {
- strace $tracelevel
-}
-
if { [skip_stl_tests] } { continue }
# On SPU this test fails because the executable exceeds local storage size.
diff --git a/gdb/testsuite/gdb.cp/call-c.exp b/gdb/testsuite/gdb.cp/call-c.exp
index c0fc79db27d..a4327e80fcd 100644
--- a/gdb/testsuite/gdb.cp/call-c.exp
+++ b/gdb/testsuite/gdb.cp/call-c.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 { [skip_cplus_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/casts.exp b/gdb/testsuite/gdb.cp/casts.exp
index 93fab9465de..84569ab58a1 100644
--- a/gdb/testsuite/gdb.cp/casts.exp
+++ b/gdb/testsuite/gdb.cp/casts.exp
@@ -20,10 +20,6 @@
# This file is part of the gdb testsuite
-if $tracelevel then {
- strace $tracelevel
- }
-
#
# test running programs
#
diff --git a/gdb/testsuite/gdb.cp/class2.exp b/gdb/testsuite/gdb.cp/class2.exp
index 7c2e63ed410..6a952454f17 100644
--- a/gdb/testsuite/gdb.cp/class2.exp
+++ b/gdb/testsuite/gdb.cp/class2.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 { [skip_cplus_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/classes.exp b/gdb/testsuite/gdb.cp/classes.exp
index 3793f91e233..ae43630a1c2 100644
--- a/gdb/testsuite/gdb.cp/classes.exp
+++ b/gdb/testsuite/gdb.cp/classes.exp
@@ -18,10 +18,6 @@
set nl "\[\r\n\]+"
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
load_lib "cp-support.exp"
diff --git a/gdb/testsuite/gdb.cp/cpcompletion.exp b/gdb/testsuite/gdb.cp/cpcompletion.exp
index 48dcca14bcd..9161351a416 100644
--- a/gdb/testsuite/gdb.cp/cpcompletion.exp
+++ b/gdb/testsuite/gdb.cp/cpcompletion.exp
@@ -49,10 +49,6 @@ proc test_class_complete {class expr name matches} {
}
}
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
set testfile pr9594
diff --git a/gdb/testsuite/gdb.cp/cpexprs.exp b/gdb/testsuite/gdb.cp/cpexprs.exp
index 6b5e14e1205..13af2656ce6 100644
--- a/gdb/testsuite/gdb.cp/cpexprs.exp
+++ b/gdb/testsuite/gdb.cp/cpexprs.exp
@@ -663,10 +663,6 @@ add {policyd5::function} \
{operation_1<T>::function}
# Start the test
-if {$tracelevel} {
- strace $tracelevel
-}
-
if {[skip_cplus_tests]} { continue }
# On SPU this test fails because the executable exceeds local storage size.
diff --git a/gdb/testsuite/gdb.cp/cplusfuncs.exp b/gdb/testsuite/gdb.cp/cplusfuncs.exp
index 6aa5445ac17..5bca25e97f2 100644
--- a/gdb/testsuite/gdb.cp/cplusfuncs.exp
+++ b/gdb/testsuite/gdb.cp/cplusfuncs.exp
@@ -17,10 +17,6 @@
# This file was written by Fred Fish. (fnf@cygnus.com)
# Adapted for g++ 3.0 ABI by Michael Chastain. (chastain@redhat.com)
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
set testfile "cplusfuncs"
diff --git a/gdb/testsuite/gdb.cp/ctti.exp b/gdb/testsuite/gdb.cp/ctti.exp
index 46c3a1f3521..17a76d3e9ca 100644
--- a/gdb/testsuite/gdb.cp/ctti.exp
+++ b/gdb/testsuite/gdb.cp/ctti.exp
@@ -22,10 +22,6 @@
# Call to template instantiations.
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
set testfile "cttiadd"
diff --git a/gdb/testsuite/gdb.cp/demangle.exp b/gdb/testsuite/gdb.cp/demangle.exp
index 14ce0b0bd85..c6e94914dc9 100644
--- a/gdb/testsuite/gdb.cp/demangle.exp
+++ b/gdb/testsuite/gdb.cp/demangle.exp
@@ -16,10 +16,6 @@
# This file was written by Fred Fish. (fnf@cygnus.com)
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
### The demangling style we last sent to GDB.
diff --git a/gdb/testsuite/gdb.cp/derivation.exp b/gdb/testsuite/gdb.cp/derivation.exp
index 57bf4161005..eafaad6e404 100644
--- a/gdb/testsuite/gdb.cp/derivation.exp
+++ b/gdb/testsuite/gdb.cp/derivation.exp
@@ -25,10 +25,6 @@
set ws "\[\r\n\t \]+"
set nl "\[\r\n\]+"
-if $tracelevel then {
- strace $tracelevel
-}
-
# Start program.
diff --git a/gdb/testsuite/gdb.cp/exception.exp b/gdb/testsuite/gdb.cp/exception.exp
index 5cff73ba221..04dd6de2d2e 100644
--- a/gdb/testsuite/gdb.cp/exception.exp
+++ b/gdb/testsuite/gdb.cp/exception.exp
@@ -34,10 +34,6 @@
set ws "\[\r\n\t \]+"
set nl "\[\r\n\]+"
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_stl_tests] } { continue }
# On SPU this test fails because the executable exceeds local storage size.
diff --git a/gdb/testsuite/gdb.cp/formatted-ref.exp b/gdb/testsuite/gdb.cp/formatted-ref.exp
index 34cb7c5e5d7..ff274392921 100644
--- a/gdb/testsuite/gdb.cp/formatted-ref.exp
+++ b/gdb/testsuite/gdb.cp/formatted-ref.exp
@@ -27,10 +27,6 @@
# work properly: condition expression using a reference object as one of its
# operand.
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/gdb1355.exp b/gdb/testsuite/gdb.cp/gdb1355.exp
index f58427970ad..140260c61d8 100644
--- a/gdb/testsuite/gdb.cp/gdb1355.exp
+++ b/gdb/testsuite/gdb.cp/gdb1355.exp
@@ -21,10 +21,6 @@
set ws "\[\r\n\t \]*"
set nl "\[\r\n\]+"
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_cplus_tests] } { continue }
#
diff --git a/gdb/testsuite/gdb.cp/gdb2384.exp b/gdb/testsuite/gdb.cp/gdb2384.exp
index 0ee27c4eae3..ee78acd7004 100644
--- a/gdb/testsuite/gdb.cp/gdb2384.exp
+++ b/gdb/testsuite/gdb.cp/gdb2384.exp
@@ -21,10 +21,6 @@
#
# PR c++/9489.
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
if { [skip_shlib_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/gdb2495.exp b/gdb/testsuite/gdb.cp/gdb2495.exp
index 5dbc2266402..1f76ffa91af 100644
--- a/gdb/testsuite/gdb.cp/gdb2495.exp
+++ b/gdb/testsuite/gdb.cp/gdb2495.exp
@@ -31,10 +31,6 @@
# This test is largely based of gdb.base/callfuncs.exp.
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
if [target_info exists gdb,nosignals] {
diff --git a/gdb/testsuite/gdb.cp/hang.exp b/gdb/testsuite/gdb.cp/hang.exp
index 2025a2014cd..0b83ced9722 100644
--- a/gdb/testsuite/gdb.cp/hang.exp
+++ b/gdb/testsuite/gdb.cp/hang.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 { [skip_cplus_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/inherit.exp b/gdb/testsuite/gdb.cp/inherit.exp
index c970d03bcbc..74e758b830c 100644
--- a/gdb/testsuite/gdb.cp/inherit.exp
+++ b/gdb/testsuite/gdb.cp/inherit.exp
@@ -21,10 +21,6 @@ set ws "\[\r\n\t \]+"
set nl "\[\r\n\]+"
set vhn "\\$\[0-9\]+"
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
load_lib "cp-support.exp"
diff --git a/gdb/testsuite/gdb.cp/local.exp b/gdb/testsuite/gdb.cp/local.exp
index ce282838998..e720583609f 100644
--- a/gdb/testsuite/gdb.cp/local.exp
+++ b/gdb/testsuite/gdb.cp/local.exp
@@ -23,10 +23,6 @@
set ws "\[\r\n\t \]+"
set nl "\[\r\n\]+"
-if $tracelevel then {
- strace $tracelevel
- }
-
#
# test running programs
#
diff --git a/gdb/testsuite/gdb.cp/m-data.exp b/gdb/testsuite/gdb.cp/m-data.exp
index 71620a25067..1ef956eeff0 100644
--- a/gdb/testsuite/gdb.cp/m-data.exp
+++ b/gdb/testsuite/gdb.cp/m-data.exp
@@ -18,10 +18,6 @@
# This file is part of the gdb testsuite
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_cplus_tests] } { continue }
#
diff --git a/gdb/testsuite/gdb.cp/m-static.exp b/gdb/testsuite/gdb.cp/m-static.exp
index 0b8f29032b4..563d70108e9 100644
--- a/gdb/testsuite/gdb.cp/m-static.exp
+++ b/gdb/testsuite/gdb.cp/m-static.exp
@@ -19,10 +19,6 @@
# This file is part of the gdb testsuite
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_cplus_tests] } { continue }
#
diff --git a/gdb/testsuite/gdb.cp/maint.exp b/gdb/testsuite/gdb.cp/maint.exp
index f576b310f69..768664a1a3b 100644
--- a/gdb/testsuite/gdb.cp/maint.exp
+++ b/gdb/testsuite/gdb.cp/maint.exp
@@ -18,10 +18,6 @@
# Currently, no source file is used.
-if $tracelevel then {
- strace $tracelevel
- }
-
# Test the help messages.
proc test_help {} {
diff --git a/gdb/testsuite/gdb.cp/mb-ctor.exp b/gdb/testsuite/gdb.cp/mb-ctor.exp
index bff7ac5ba30..c13b62c70e8 100644
--- a/gdb/testsuite/gdb.cp/mb-ctor.exp
+++ b/gdb/testsuite/gdb.cp/mb-ctor.exp
@@ -16,10 +16,6 @@
# Test that breakpoints on C++ constructors work, despite the
# fact that gcc generates several versions of constructor function.
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/mb-inline.exp b/gdb/testsuite/gdb.cp/mb-inline.exp
index 1a29d35da31..bf00c26bbc2 100644
--- a/gdb/testsuite/gdb.cp/mb-inline.exp
+++ b/gdb/testsuite/gdb.cp/mb-inline.exp
@@ -18,10 +18,6 @@
# This test verifies that setting breakpoint on line in inline
# function will fire in all instantiations of that function.
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/mb-templates.exp b/gdb/testsuite/gdb.cp/mb-templates.exp
index dfb25cc1410..128f9f77961 100644
--- a/gdb/testsuite/gdb.cp/mb-templates.exp
+++ b/gdb/testsuite/gdb.cp/mb-templates.exp
@@ -16,10 +16,6 @@
# This test verifies that setting breakpoint on line in template
# function will fire in all instantiations of that template.
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_stl_tests] } { continue }
# On SPU this test fails because the executable exceeds local storage size.
diff --git a/gdb/testsuite/gdb.cp/member-ptr.exp b/gdb/testsuite/gdb.cp/member-ptr.exp
index 4b9a37dafaa..7eb237d7555 100644
--- a/gdb/testsuite/gdb.cp/member-ptr.exp
+++ b/gdb/testsuite/gdb.cp/member-ptr.exp
@@ -22,10 +22,6 @@
set vhn "\\$\[0-9\]+"
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/method.exp b/gdb/testsuite/gdb.cp/method.exp
index 3fe24c3ac44..b862bc6a3b7 100644
--- a/gdb/testsuite/gdb.cp/method.exp
+++ b/gdb/testsuite/gdb.cp/method.exp
@@ -29,10 +29,6 @@
# integrate FPARAM symbols in HP debug info into the local var list
# for the function or method's block.)
-if $tracelevel then {
- strace $tracelevel
- }
-
#
# test running programs
#
diff --git a/gdb/testsuite/gdb.cp/misc.exp b/gdb/testsuite/gdb.cp/misc.exp
index 6e7bf1181c8..a3ea820b59b 100644
--- a/gdb/testsuite/gdb.cp/misc.exp
+++ b/gdb/testsuite/gdb.cp/misc.exp
@@ -16,10 +16,6 @@
# This file was written by Fred Fish. (fnf@cygnus.com)
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
set testfile "misc"
diff --git a/gdb/testsuite/gdb.cp/namespace-nested-import.exp b/gdb/testsuite/gdb.cp/namespace-nested-import.exp
index f0a934b772e..15506ae33c4 100644
--- a/gdb/testsuite/gdb.cp/namespace-nested-import.exp
+++ b/gdb/testsuite/gdb.cp/namespace-nested-import.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
-}
-
set testfile namespace-nested-import
set srcfile ${testfile}.cc
diff --git a/gdb/testsuite/gdb.cp/namespace.exp b/gdb/testsuite/gdb.cp/namespace.exp
index e0789de7db8..ccbd97f9135 100644
--- a/gdb/testsuite/gdb.cp/namespace.exp
+++ b/gdb/testsuite/gdb.cp/namespace.exp
@@ -25,10 +25,6 @@
# Note: As of 2000-06-03, they passed under g++ - djb
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_cplus_tests] } { continue }
diff --git a/gdb/testsuite/gdb.cp/nextoverthrow.exp b/gdb/testsuite/gdb.cp/nextoverthrow.exp
index 2224628f977..7d4a0c57178 100644
--- a/gdb/testsuite/gdb.cp/nextoverthrow.exp
+++ b/gdb/testsuite/gdb.cp/nextoverthrow.exp
@@ -14,10 +14,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
set testfile "nextoverthrow"
diff --git a/gdb/testsuite/gdb.cp/nsdecl.exp b/gdb/testsuite/gdb.cp/nsdecl.exp
index f8617d120ff..5da4a0c5256 100644
--- a/gdb/testsuite/gdb.cp/nsdecl.exp
+++ b/gdb/testsuite/gdb.cp/nsdecl.exp
@@ -15,10 +15,6 @@
# Stress test the lookup of declarations
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile nsdecl
set srcfile ${testfile}.cc
diff --git a/gdb/testsuite/gdb.cp/nsimport.exp b/gdb/testsuite/gdb.cp/nsimport.exp
index deeca460748..6f937a7f29d 100644
--- a/gdb/testsuite/gdb.cp/nsimport.exp
+++ b/gdb/testsuite/gdb.cp/nsimport.exp
@@ -16,10 +16,6 @@
# Test printing from multiple namespace
# imported into the same scope.
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile nsimport
set srcfile ${testfile}.cc
diff --git a/gdb/testsuite/gdb.cp/nsrecurs.exp b/gdb/testsuite/gdb.cp/nsrecurs.exp
index fa80eb4f32f..49affaa3c71 100644
--- a/gdb/testsuite/gdb.cp/nsrecurs.exp
+++ b/gdb/testsuite/gdb.cp/nsrecurs.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
-}
-
set testfile nsrecurs
set srcfile ${testfile}.cc
diff --git a/gdb/testsuite/gdb.cp/nsstress.exp b/gdb/testsuite/gdb.cp/nsstress.exp
index 93f310c6868..dbc1a042924 100644
--- a/gdb/testsuite/gdb.cp/nsstress.exp
+++ b/gdb/testsuite/gdb.cp/nsstress.exp
@@ -15,10 +15,6 @@
# Stress test namespace lookup
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile nsstress
set srcfile ${testfile}.cc
diff --git a/gdb/testsuite/gdb.cp/nsusing.exp b/gdb/testsuite/gdb.cp/nsusing.exp
index fd8caec43c8..fecb882b179 100644
--- a/gdb/testsuite/gdb.cp/nsusing.exp
+++ b/gdb/testsuite/gdb.cp/nsusing.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
-}
-
set testfile nsusing
set srcfile ${testfile}.cc
diff --git a/gdb/testsuite/gdb.cp/overload.exp b/gdb/testsuite/gdb.cp/overload.exp
index 10bd4de3f4a..5116e5f1eb2 100644
--- a/gdb/testsuite/gdb.cp/overload.exp
+++ b/gdb/testsuite/gdb.cp/overload.exp
@@ -20,10 +20,6 @@
# Tests for overloaded member functions.
-if $tracelevel then {
- strace $tracelevel
-}
-
set ws "\[\r\n\t \]+"
set nl "\[\r\n\]+"
diff --git a/gdb/testsuite/gdb.cp/ovldbreak.exp b/gdb/testsuite/gdb.cp/ovldbreak.exp
index ddc4117a01c..b719224df8a 100644
--- a/gdb/testsuite/gdb.cp/ovldbreak.exp
+++ b/gdb/testsuite/gdb.cp/ovldbreak.exp
@@ -25,10 +25,6 @@
global timeout
set timeout 15
-if $tracelevel then {
- strace $tracelevel
- }
-
#
# test running programs
#
diff --git a/gdb/testsuite/gdb.cp/pr-1023.exp b/gdb/testsuite/gdb.cp/pr-1023.exp
index 8e41e04f733..0eec05ce553 100644
--- a/gdb/testsuite/gdb.cp/pr-1023.exp
+++ b/gdb/testsuite/gdb.cp/pr-1023.exp
@@ -18,10 +18,6 @@
# This file is part of the gdb testsuite.
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_cplus_tests] } { continue }
#
diff --git a/gdb/testsuite/gdb.cp/pr-1210.exp b/gdb/testsuite/gdb.cp/pr-1210.exp
index b0fc3c9e29e..90da5bc55d8 100644
--- a/gdb/testsuite/gdb.cp/pr-1210.exp
+++ b/gdb/testsuite/gdb.cp/pr-1210.exp
@@ -17,10 +17,6 @@
# This file is part of the gdb testsuite.
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
#
diff --git a/gdb/testsuite/gdb.cp/pr-574.exp b/gdb/testsuite/gdb.cp/pr-574.exp
index abc38d16a1c..b8333f84f4c 100644
--- a/gdb/testsuite/gdb.cp/pr-574.exp
+++ b/gdb/testsuite/gdb.cp/pr-574.exp
@@ -20,10 +20,6 @@
# This file is part of the gdb testsuite
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_cplus_tests] } { continue }
#
diff --git a/gdb/testsuite/gdb.cp/printmethod.exp b/gdb/testsuite/gdb.cp/printmethod.exp
index 998fffccd57..5362b80d038 100644
--- a/gdb/testsuite/gdb.cp/printmethod.exp
+++ b/gdb/testsuite/gdb.cp/printmethod.exp
@@ -19,10 +19,6 @@
# This file is part of the gdb testsuite
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_cplus_tests] } { continue }
#
diff --git a/gdb/testsuite/gdb.cp/psmang.exp b/gdb/testsuite/gdb.cp/psmang.exp
index 743f8829c7b..605f8ebf66a 100644
--- a/gdb/testsuite/gdb.cp/psmang.exp
+++ b/gdb/testsuite/gdb.cp/psmang.exp
@@ -171,10 +171,6 @@
# other ways this test could fail to do its job. If you need to make
# revisions, please be very careful.
-if $tracelevel then {
- strace $tracelevel
-}
-
#
# test running programs
#
diff --git a/gdb/testsuite/gdb.cp/punctuator.exp b/gdb/testsuite/gdb.cp/punctuator.exp
index 9af22ada73a..27ef37cf1ce 100644
--- a/gdb/testsuite/gdb.cp/punctuator.exp
+++ b/gdb/testsuite/gdb.cp/punctuator.exp
@@ -17,10 +17,6 @@
# This file is part of the gdb testsuite
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_cplus_tests] } { continue }
gdb_exit
diff --git a/gdb/testsuite/gdb.cp/ref-params.exp b/gdb/testsuite/gdb.cp/ref-params.exp
index 23f9de868ab..f133a894dbe 100644
--- a/gdb/testsuite/gdb.cp/ref-params.exp
+++ b/gdb/testsuite/gdb.cp/ref-params.exp
@@ -16,10 +16,6 @@
# written by Paul N. Hilfinger (Hilfinger@adacore.com)
-if $tracelevel then {
- strace $tracelevel
- }
-
#
# test running programs
#
diff --git a/gdb/testsuite/gdb.cp/ref-types.exp b/gdb/testsuite/gdb.cp/ref-types.exp
index 3e63b6b45ff..346aac40788 100644
--- a/gdb/testsuite/gdb.cp/ref-types.exp
+++ b/gdb/testsuite/gdb.cp/ref-types.exp
@@ -16,10 +16,6 @@
# written by Elena Zannoni (ezannoni@cygnus.com)
-if $tracelevel then {
- strace $tracelevel
- }
-
#
# test running programs
#
diff --git a/gdb/testsuite/gdb.cp/rtti.exp b/gdb/testsuite/gdb.cp/rtti.exp
index 35e37b0d376..d9e413f4aae 100644
--- a/gdb/testsuite/gdb.cp/rtti.exp
+++ b/gdb/testsuite/gdb.cp/rtti.exp
@@ -26,10 +26,6 @@
# (involving templates, in particular) where this problem triggers
# because GDB and GCC have different ideas what a class is called.
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_cplus_tests] } { continue }
#
diff --git a/gdb/testsuite/gdb.cp/shadow.exp b/gdb/testsuite/gdb.cp/shadow.exp
index a6b40d1c586..47d6207d765 100644
--- a/gdb/testsuite/gdb.cp/shadow.exp
+++ b/gdb/testsuite/gdb.cp/shadow.exp
@@ -16,10 +16,6 @@
# Test that when multiple variables have the same
# name the one from the correct scope is printed.
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile shadow
set srcfile ${testfile}.cc
diff --git a/gdb/testsuite/gdb.cp/temargs.exp b/gdb/testsuite/gdb.cp/temargs.exp
index bb4fc94fb50..24541a45605 100644
--- a/gdb/testsuite/gdb.cp/temargs.exp
+++ b/gdb/testsuite/gdb.cp/temargs.exp
@@ -17,10 +17,6 @@
# This file is part of the gdb testsuite.
-if {$tracelevel} {
- strace $tracelevel
-}
-
if {[skip_cplus_tests]} {
continue
}
diff --git a/gdb/testsuite/gdb.cp/templates.exp b/gdb/testsuite/gdb.cp/templates.exp
index 4fdcabfd92e..72b65ae4155 100644
--- a/gdb/testsuite/gdb.cp/templates.exp
+++ b/gdb/testsuite/gdb.cp/templates.exp
@@ -18,10 +18,6 @@
set ws "\[\r\n\t \]+"
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
set testfile "templates"
diff --git a/gdb/testsuite/gdb.cp/try_catch.exp b/gdb/testsuite/gdb.cp/try_catch.exp
index 474d674bc31..846d8f9b8a1 100644
--- a/gdb/testsuite/gdb.cp/try_catch.exp
+++ b/gdb/testsuite/gdb.cp/try_catch.exp
@@ -18,10 +18,6 @@
# This file is part of the gdb testsuite
-if $tracelevel then {
- strace $tracelevel
- }
-
if { [skip_stl_tests] } { continue }
#
diff --git a/gdb/testsuite/gdb.cp/userdef.exp b/gdb/testsuite/gdb.cp/userdef.exp
index 98bd10517ef..9c7cb57f45f 100644
--- a/gdb/testsuite/gdb.cp/userdef.exp
+++ b/gdb/testsuite/gdb.cp/userdef.exp
@@ -19,10 +19,6 @@
# source file "userdef.cc"
#
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_stl_tests] } { continue }
# On SPU this test fails because the executable exceeds local storage size.
diff --git a/gdb/testsuite/gdb.cp/virtfunc.exp b/gdb/testsuite/gdb.cp/virtfunc.exp
index ab8ecebad78..dd41c6dd982 100644
--- a/gdb/testsuite/gdb.cp/virtfunc.exp
+++ b/gdb/testsuite/gdb.cp/virtfunc.exp
@@ -19,10 +19,6 @@
set nl "\[\r\n\]+"
-if $tracelevel then {
- strace $tracelevel
-}
-
if { [skip_cplus_tests] } { continue }
load_lib "cp-support.exp"