summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.server
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2009-04-02 22:40:09 +0000
committerPedro Alves <pedro@codesourcery.com>2009-04-02 22:40:09 +0000
commit266b32c46c0490da02454d11925ae2c957e4a8e7 (patch)
tree50d12fd0a1c5a05882ca7050203775bd815654cf /gdb/testsuite/gdb.server
parentb792e3f279f2e97426551c6def0d54175345ba12 (diff)
downloadgdb-266b32c46c0490da02454d11925ae2c957e4a8e7.tar.gz
* gdb.server/ext-attach.exp: Expect an optional process id after
"Detached from remote process".
Diffstat (limited to 'gdb/testsuite/gdb.server')
-rw-r--r--gdb/testsuite/gdb.server/ext-attach.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.server/ext-attach.exp b/gdb/testsuite/gdb.server/ext-attach.exp
index 577c75ace6c..736fc3db557 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.*" \