aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.threads
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.threads
parentddb1377cc0daa352458911e38a536c9ce33dec85 (diff)
downloadgdb-97ccebe869a69550b5a89a59b99955fb783f2b81.zip
gdb-97ccebe869a69550b5a89a59b99955fb783f2b81.tar.gz
gdb-97ccebe869a69550b5a89a59b99955fb783f2b81.tar.bz2
2012-01-16 Pedro Alves <palves@redhat.com>
Remove all calls to strace.
Diffstat (limited to 'gdb/testsuite/gdb.threads')
-rw-r--r--gdb/testsuite/gdb.threads/bp_in_thread.exp4
-rw-r--r--gdb/testsuite/gdb.threads/gcore-thread.exp4
-rw-r--r--gdb/testsuite/gdb.threads/hand-call-in-threads.exp4
-rw-r--r--gdb/testsuite/gdb.threads/interrupted-hand-call.exp4
-rw-r--r--gdb/testsuite/gdb.threads/killed.exp4
-rw-r--r--gdb/testsuite/gdb.threads/linux-dp.exp4
-rw-r--r--gdb/testsuite/gdb.threads/manythreads.exp4
-rw-r--r--gdb/testsuite/gdb.threads/print-threads.exp4
-rw-r--r--gdb/testsuite/gdb.threads/pthread_cond_wait.exp4
-rw-r--r--gdb/testsuite/gdb.threads/pthreads.exp4
-rw-r--r--gdb/testsuite/gdb.threads/schedlock.exp4
-rw-r--r--gdb/testsuite/gdb.threads/staticthreads.exp4
-rw-r--r--gdb/testsuite/gdb.threads/step.exp4
-rw-r--r--gdb/testsuite/gdb.threads/step2.exp4
-rw-r--r--gdb/testsuite/gdb.threads/switch-threads.exp4
-rw-r--r--gdb/testsuite/gdb.threads/thread-find.exp4
-rw-r--r--gdb/testsuite/gdb.threads/thread-specific.exp4
-rw-r--r--gdb/testsuite/gdb.threads/thread-unwindonsignal.exp4
-rw-r--r--gdb/testsuite/gdb.threads/thread_check.exp4
-rw-r--r--gdb/testsuite/gdb.threads/thread_events.exp4
-rw-r--r--gdb/testsuite/gdb.threads/threadapply.exp4
-rw-r--r--gdb/testsuite/gdb.threads/tls-shared.exp4
-rw-r--r--gdb/testsuite/gdb.threads/watchthreads.exp4
-rw-r--r--gdb/testsuite/gdb.threads/watchthreads2.exp4
24 files changed, 0 insertions, 96 deletions
diff --git a/gdb/testsuite/gdb.threads/bp_in_thread.exp b/gdb/testsuite/gdb.threads/bp_in_thread.exp
index ef8cc3f..0ec7054e 100644
--- a/gdb/testsuite/gdb.threads/bp_in_thread.exp
+++ b/gdb/testsuite/gdb.threads/bp_in_thread.exp
@@ -18,10 +18,6 @@
# GDB reported a SIGTRAP signal in a random thread when hitting
# a breakpoint.
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "bp_in_thread"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
diff --git a/gdb/testsuite/gdb.threads/gcore-thread.exp b/gdb/testsuite/gdb.threads/gcore-thread.exp
index 62d6af1..dfb2314 100644
--- a/gdb/testsuite/gdb.threads/gcore-thread.exp
+++ b/gdb/testsuite/gdb.threads/gcore-thread.exp
@@ -16,10 +16,6 @@
# This file was written by Michael Snyder (msnyder@redhat.com)
# This is a test for the gdb command "generate-core-file".
-if $tracelevel then {
- strace $tracelevel
-}
-
# Single-threaded test case
set testfile "gcore-thread"
set srcfile pthreads.c
diff --git a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp
index 707fb44..ba0e74b 100644
--- a/gdb/testsuite/gdb.threads/hand-call-in-threads.exp
+++ b/gdb/testsuite/gdb.threads/hand-call-in-threads.exp
@@ -18,10 +18,6 @@
set NR_THREADS 4
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "hand-call-in-threads"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
diff --git a/gdb/testsuite/gdb.threads/interrupted-hand-call.exp b/gdb/testsuite/gdb.threads/interrupted-hand-call.exp
index 8c22bd3..926c612 100644
--- a/gdb/testsuite/gdb.threads/interrupted-hand-call.exp
+++ b/gdb/testsuite/gdb.threads/interrupted-hand-call.exp
@@ -19,10 +19,6 @@
set NR_THREADS 4
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "interrupted-hand-call"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
diff --git a/gdb/testsuite/gdb.threads/killed.exp b/gdb/testsuite/gdb.threads/killed.exp
index c9c6397..fa99e6e 100644
--- a/gdb/testsuite/gdb.threads/killed.exp
+++ b/gdb/testsuite/gdb.threads/killed.exp
@@ -54,10 +54,6 @@
# [7]+ Killed $D6/gdb/gdb -nw killed
# $
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "killed"
set srcfile ${testfile}.c
diff --git a/gdb/testsuite/gdb.threads/linux-dp.exp b/gdb/testsuite/gdb.threads/linux-dp.exp
index b211aa2..d7fa125 100644
--- a/gdb/testsuite/gdb.threads/linux-dp.exp
+++ b/gdb/testsuite/gdb.threads/linux-dp.exp
@@ -33,10 +33,6 @@
### killing and restarting
### quitting gracefully
-if $tracelevel then {
- strace $tracelevel
-}
-
# This only works with Linux configurations.
if ![istarget *-*-linux-gnu*] then {
diff --git a/gdb/testsuite/gdb.threads/manythreads.exp b/gdb/testsuite/gdb.threads/manythreads.exp
index 1c13b42..42333e6 100644
--- a/gdb/testsuite/gdb.threads/manythreads.exp
+++ b/gdb/testsuite/gdb.threads/manythreads.exp
@@ -16,10 +16,6 @@
# This file was written by Jeff Johnston. (jjohnstn@redhat.com)
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "manythreads"
set srcfile ${testfile}.c
diff --git a/gdb/testsuite/gdb.threads/print-threads.exp b/gdb/testsuite/gdb.threads/print-threads.exp
index 97c8cf6..b5a99fe 100644
--- a/gdb/testsuite/gdb.threads/print-threads.exp
+++ b/gdb/testsuite/gdb.threads/print-threads.exp
@@ -20,10 +20,6 @@
# It tests miscellaneous actions with multiple threads, including
# handling for thread exit.
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "print-threads"
set srcfile ${testfile}.c
diff --git a/gdb/testsuite/gdb.threads/pthread_cond_wait.exp b/gdb/testsuite/gdb.threads/pthread_cond_wait.exp
index 283545a..fc2942e 100644
--- a/gdb/testsuite/gdb.threads/pthread_cond_wait.exp
+++ b/gdb/testsuite/gdb.threads/pthread_cond_wait.exp
@@ -19,10 +19,6 @@
# This file verifies that GDB is able to compute a backtrace for a thread
# being blocked on a call to pthread_cond_wait().
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "pthread_cond_wait"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
diff --git a/gdb/testsuite/gdb.threads/pthreads.exp b/gdb/testsuite/gdb.threads/pthreads.exp
index 31008ca..e216993 100644
--- a/gdb/testsuite/gdb.threads/pthreads.exp
+++ b/gdb/testsuite/gdb.threads/pthreads.exp
@@ -16,10 +16,6 @@
# This file was written by Fred Fish. (fnf@cygnus.com)
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "pthreads"
set srcfile ${testfile}.c
diff --git a/gdb/testsuite/gdb.threads/schedlock.exp b/gdb/testsuite/gdb.threads/schedlock.exp
index 2c34a89..522559c 100644
--- a/gdb/testsuite/gdb.threads/schedlock.exp
+++ b/gdb/testsuite/gdb.threads/schedlock.exp
@@ -19,10 +19,6 @@
#
# This test covers the various forms of "set scheduler-locking".
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "schedlock"
set srcfile ${testfile}.c
diff --git a/gdb/testsuite/gdb.threads/staticthreads.exp b/gdb/testsuite/gdb.threads/staticthreads.exp
index bb65156..a073d55 100644
--- a/gdb/testsuite/gdb.threads/staticthreads.exp
+++ b/gdb/testsuite/gdb.threads/staticthreads.exp
@@ -18,10 +18,6 @@
# Based on manythreads written by Jeff Johnston, contributed by Red
# Hat.
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "staticthreads"
set srcfile ${testfile}.c
diff --git a/gdb/testsuite/gdb.threads/step.exp b/gdb/testsuite/gdb.threads/step.exp
index 6b6d2cc..1f370f0 100644
--- a/gdb/testsuite/gdb.threads/step.exp
+++ b/gdb/testsuite/gdb.threads/step.exp
@@ -33,10 +33,6 @@
# catch the fact it continued rather than stepped)
-if $tracelevel then {
- strace $tracelevel
-}
-
set program_exited 0
proc set_bp { where } {
diff --git a/gdb/testsuite/gdb.threads/step2.exp b/gdb/testsuite/gdb.threads/step2.exp
index 42a279b..811f95a 100644
--- a/gdb/testsuite/gdb.threads/step2.exp
+++ b/gdb/testsuite/gdb.threads/step2.exp
@@ -18,10 +18,6 @@
#
-if $tracelevel then {
- strace $tracelevel
-}
-
set program_exited 0
# A simple and crude test to see that we can step two threads independently
diff --git a/gdb/testsuite/gdb.threads/switch-threads.exp b/gdb/testsuite/gdb.threads/switch-threads.exp
index 7a0e261..1561e5b 100644
--- a/gdb/testsuite/gdb.threads/switch-threads.exp
+++ b/gdb/testsuite/gdb.threads/switch-threads.exp
@@ -23,10 +23,6 @@
# TODO: we should also test explicitly changing threads with the "thread"
# command.
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "switch-threads"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
diff --git a/gdb/testsuite/gdb.threads/thread-find.exp b/gdb/testsuite/gdb.threads/thread-find.exp
index cce83fc..f39886c 100644
--- a/gdb/testsuite/gdb.threads/thread-find.exp
+++ b/gdb/testsuite/gdb.threads/thread-find.exp
@@ -16,10 +16,6 @@
# Please email any bugs, comments, and/or additions to this file to:
# bug-gdb@gnu.org
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "linux-dp"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
diff --git a/gdb/testsuite/gdb.threads/thread-specific.exp b/gdb/testsuite/gdb.threads/thread-specific.exp
index d914fe2..6e22dde 100644
--- a/gdb/testsuite/gdb.threads/thread-specific.exp
+++ b/gdb/testsuite/gdb.threads/thread-specific.exp
@@ -17,10 +17,6 @@
# It tests that the correct breakpoint is reported when we hit a
# thread-specific breakpoint inserted for several threads.
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "thread-specific"
set srcfile ${testfile}.c
diff --git a/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp b/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp
index 302a9d1..bacbe4c 100644
--- a/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp
+++ b/gdb/testsuite/gdb.threads/thread-unwindonsignal.exp
@@ -18,10 +18,6 @@
set NR_THREADS 4
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "interrupted-hand-call"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
diff --git a/gdb/testsuite/gdb.threads/thread_check.exp b/gdb/testsuite/gdb.threads/thread_check.exp
index 18446ca..1a4526d 100644
--- a/gdb/testsuite/gdb.threads/thread_check.exp
+++ b/gdb/testsuite/gdb.threads/thread_check.exp
@@ -31,10 +31,6 @@
# - delete all breakpoints
# - exit gdb.
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "thread_check"
set srcfile ${testfile}.c
diff --git a/gdb/testsuite/gdb.threads/thread_events.exp b/gdb/testsuite/gdb.threads/thread_events.exp
index 176c90b..2b69eb8 100644
--- a/gdb/testsuite/gdb.threads/thread_events.exp
+++ b/gdb/testsuite/gdb.threads/thread_events.exp
@@ -33,10 +33,6 @@ if [is_remote target] then {
return
}
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile "thread_events"
set srcfile ${testfile}.c
diff --git a/gdb/testsuite/gdb.threads/threadapply.exp b/gdb/testsuite/gdb.threads/threadapply.exp
index 7ec3f67..a46ceeb 100644
--- a/gdb/testsuite/gdb.threads/threadapply.exp
+++ b/gdb/testsuite/gdb.threads/threadapply.exp
@@ -15,10 +15,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 {
- strace $tracelevel
-}
-
# This test verifies that a macro using backtrace can be applied to all threads
# and will continue for each thread even though an error may occur in
diff --git a/gdb/testsuite/gdb.threads/tls-shared.exp b/gdb/testsuite/gdb.threads/tls-shared.exp
index ac3c4c5..f645729 100644
--- a/gdb/testsuite/gdb.threads/tls-shared.exp
+++ b/gdb/testsuite/gdb.threads/tls-shared.exp
@@ -16,10 +16,6 @@
# tls-shared.exp -- Expect script to test thread local storage in gdb, with
# shared libraries.
-if $tracelevel then {
- strace $tracelevel
-}
-
set testfile tls-main
set libfile tls-shared
set srcfile ${testfile}.c
diff --git a/gdb/testsuite/gdb.threads/watchthreads.exp b/gdb/testsuite/gdb.threads/watchthreads.exp
index d9fc87c..c18505e 100644
--- a/gdb/testsuite/gdb.threads/watchthreads.exp
+++ b/gdb/testsuite/gdb.threads/watchthreads.exp
@@ -17,10 +17,6 @@
# Check that GDB can support multiple watchpoints across threads.
-if $tracelevel {
- strace $tracelevel
-}
-
# This test verifies that a watchpoint is detected in the proper thread
# so the test is only meaningful on a system with hardware watchpoints.
diff --git a/gdb/testsuite/gdb.threads/watchthreads2.exp b/gdb/testsuite/gdb.threads/watchthreads2.exp
index ef4fa29..aaa3430 100644
--- a/gdb/testsuite/gdb.threads/watchthreads2.exp
+++ b/gdb/testsuite/gdb.threads/watchthreads2.exp
@@ -21,10 +21,6 @@
set NR_THREADS 4
set X_INCR_COUNT 10
-if $tracelevel {
- strace $tracelevel
-}
-
# This test verifies that a watchpoint is detected in the proper thread
# so the test is only meaningful on a system with hardware watchpoints.