* gdb.server/ext-attach.exp: Expect an optional process id after
"Detached from remote process".
This commit is contained in:
parent
de40b933e2
commit
f4b95f6ffd
2 changed files with 6 additions and 1 deletions
|
@ -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.*" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue