From f4b95f6ffd67628f45e8a0cc98df6c64c022d0a1 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 2 Apr 2009 22:40:10 +0000 Subject: [PATCH] * gdb.server/ext-attach.exp: Expect an optional process id after "Detached from remote process". --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.server/ext-attach.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 54d0c9a078..c9676b889e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-04-02 Pedro Alves + + * gdb.server/ext-attach.exp: Expect an optional process id after + "Detached from remote process". + 2009-04-02 Jan Kratochvil * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S, diff --git a/gdb/testsuite/gdb.server/ext-attach.exp b/gdb/testsuite/gdb.server/ext-attach.exp index 577c75ace6..736fc3db55 100644 --- a/gdb/testsuite/gdb.server/ext-attach.exp +++ b/gdb/testsuite/gdb.server/ext-attach.exp @@ -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.*" \