* gdb.server/ext-attach.exp: Expect an optional process id after

"Detached from remote process".
This commit is contained in:
Pedro Alves 2009-04-02 22:40:10 +00:00
parent de40b933e2
commit f4b95f6ffd
2 changed files with 6 additions and 1 deletions

View 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.*" \