OSDN Git Service

* gdb.server/ext-attach.exp: Expect an optional process id after
authorPedro Alves <pedro@codesourcery.com>
Thu, 2 Apr 2009 22:40:09 +0000 (22:40 +0000)
committerPedro Alves <pedro@codesourcery.com>
Thu, 2 Apr 2009 22:40:09 +0000 (22:40 +0000)
"Detached from remote process".

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.server/ext-attach.exp

index 54d0c9a..c9676b8 100644 (file)
@@ -1,3 +1,8 @@
+2009-04-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * gdb.server/ext-attach.exp: Expect an optional process id after
+       "Detached from remote process".
+
 2009-04-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
index 577c75a..736fc3d 100644 (file)
@@ -66,7 +66,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.*" \