Index: gdb/testsuite/gdb.threads/pthreads.exp |
diff --git a/gdb/testsuite/gdb.threads/pthreads.exp b/gdb/testsuite/gdb.threads/pthreads.exp |
index 14aa41099bf9a5bc0ca5490fb9898f82274ec3a4..682ca59f92b959cdc19395e72bf47f0c4e8067d1 100644 |
--- a/gdb/testsuite/gdb.threads/pthreads.exp |
+++ b/gdb/testsuite/gdb.threads/pthreads.exp |
@@ -1,5 +1,4 @@ |
-# Copyright (C) 1996-1997, 1999-2004, 2007-2012 Free Software |
-# Foundation, Inc. |
+# Copyright (C) 1996-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -80,7 +79,7 @@ proc all_threads_running {} { |
} |
if { $return_me == 1 } then { |
- return 0; |
+ return 0 |
} |
# Check that we stopped when we actually expected to stop, by |
@@ -140,7 +139,7 @@ proc test_startup {} { |
} |
if { $return_me == 1 } then { |
- return 0; |
+ return 0 |
} |
# Extract the thread id number of main thread from "info threads" output. |
@@ -210,7 +209,7 @@ proc check_control_c {} { |
} |
timeout { |
fail "$description (timeout)" |
- return 1; |
+ return 1 |
} |
} |
gdb_test "bt" ".*" |
@@ -219,7 +218,7 @@ proc check_control_c {} { |
if [all_threads_running] then { |
pass "All threads running after continuing from ^C stop" |
} |
- return 0; |
+ return 0 |
} |
proc check_backtraces {} { |
@@ -273,7 +272,7 @@ if [runto_main] then { |
if [test_startup] then { |
if [check_control_c] then { |
warning "Could not stop child with ^C; skipping rest of tests.\n" |
- return; |
+ return |
} |
check_backtraces |
} |