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

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

index 54d0c9a078956faa7d0f960ea9e42e875a26d0e5..c9676b889e37ddaa97920f6842add0b4048c050e 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 577c75ace6c236b240fc08645f9fe097c7989d33..736fc3db55708e3ad927e57d4aba6f988adc3515 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.*" \