This commit was manufactured by cvs2svn to create branch 'gdb_7_0-branch'.
[external/binutils.git] / gdb / testsuite / gdb.server / ext-attach.exp
index 4ab1bb6..519762a 100644 (file)
@@ -1,6 +1,6 @@
 # This testcase is part of GDB, the GNU debugger.
 
-# Copyright 2007 Free Software Foundation, Inc.
+# Copyright 2007, 2009 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
@@ -27,11 +27,6 @@ if { [skip_gdbserver_tests] } {
     return 0
 }
 
-# On SPU, this test currently fails because "sleep" is not supported.
-if { [istarget "spu*-*-*"] } {
-       return 0
-}
-
 # We need to use TCL's exec to get the pid.
 if [is_remote target] then {
     return 0
@@ -66,7 +61,7 @@ gdb_test "attach $testpid" "Attached to.*" \
     "attach to remote program 1"
 gdb_test "backtrace" ".*main.*" "backtrace 1"
 
-gdb_test "detach" "Detached from remote process\\."
+gdb_test "detach" "Detached from remote process.*\\."
 gdb_test "backtrace" "No stack\\." "backtrace with no program"
 
 gdb_test "attach $testpid" "Attached to.*" \