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

Unified Diff: gdb/testsuite/gdb.threads/pthreads.exp

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 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.threads/pthreads.c ('k') | gdb/testsuite/gdb.threads/schedlock.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« no previous file with comments | « gdb/testsuite/gdb.threads/pthreads.c ('k') | gdb/testsuite/gdb.threads/schedlock.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698