aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-04-02 22:40:10 +0000
committerPedro Alves <palves@redhat.com>2009-04-02 22:40:10 +0000
commitf4b95f6ffd67628f45e8a0cc98df6c64c022d0a1 (patch)
tree2094b4a57721158069a48cee38812cd4b4e54878 /gdb/testsuite
parentde40b933e2a58bdd085dc97f9189ca4cc2026220 (diff)
downloadgdb-f4b95f6ffd67628f45e8a0cc98df6c64c022d0a1.zip
gdb-f4b95f6ffd67628f45e8a0cc98df6c64c022d0a1.tar.gz
gdb-f4b95f6ffd67628f45e8a0cc98df6c64c022d0a1.tar.bz2
* gdb.server/ext-attach.exp: Expect an optional process id after
"Detached from remote process".
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.server/ext-attach.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 54d0c9a..c9676b8 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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,
diff --git a/gdb/testsuite/gdb.server/ext-attach.exp b/gdb/testsuite/gdb.server/ext-attach.exp
index 577c75a..736fc3d 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.*" \