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

Unified Diff: gdb/testsuite/gdb.threads/clone-new-thread-event.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 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/clone-new-thread-event.c ('k') | gdb/testsuite/gdb.threads/corethreads.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.threads/clone-new-thread-event.exp
diff --git a/gdb/testsuite/gdb.threads/current-lwp-dead.exp b/gdb/testsuite/gdb.threads/clone-new-thread-event.exp
similarity index 66%
copy from gdb/testsuite/gdb.threads/current-lwp-dead.exp
copy to gdb/testsuite/gdb.threads/clone-new-thread-event.exp
index fe6cd9a465166d33171da383627f559eb55a16a2..061f2c0e812dcd6578aaff03ca6b5cf6639081c2 100644
--- a/gdb/testsuite/gdb.threads/current-lwp-dead.exp
+++ b/gdb/testsuite/gdb.threads/clone-new-thread-event.exp
@@ -1,6 +1,6 @@
# This testcase is part of GDB, the GNU debugger.
-# Copyright 2009-2012 Free Software Foundation, Inc.
+# Copyright 2012 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
@@ -15,22 +15,20 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Please email any bugs, comments, and/or additions to this file to:
-# bug-gdb@gnu.org
-
-# This only works with on Linux targets.
+# This only works on targets with the Linux kernel.
if ![istarget *-*-linux*] then {
return
}
-if { [prepare_for_testing current-lwp-dead.exp current-lwp-dead] } {
+if { [prepare_for_testing clone-new-thread-event.exp clone-new-thread-event] } {
return -1
}
-if {[runto_main] <= 0} {
- untested current-lwp-dead.exp
+if { ![runto_main] } {
+ untested "could not run to main"
return -1
}
-gdb_breakpoint "fn_return"
-gdb_continue_to_breakpoint "fn_return" ".*at-fn_return.*"
+gdb_test "continue" \
+ "Program received signal SIGUSR1, User defined signal 1.*" \
+ "catch SIGUSR1"
« no previous file with comments | « gdb/testsuite/gdb.threads/clone-new-thread-event.c ('k') | gdb/testsuite/gdb.threads/corethreads.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698