* 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

@ -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> 2009-04-02 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S, * gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,

View File

@ -66,7 +66,7 @@ gdb_test "attach $testpid" "Attached to.*" \
"attach to remote program 1" "attach to remote program 1"
gdb_test "backtrace" ".*main.*" "backtrace 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 "backtrace" "No stack\\." "backtrace with no program"
gdb_test "attach $testpid" "Attached to.*" \ gdb_test "attach $testpid" "Attached to.*" \