diff options
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/gdb.threads/leader-exit-attach.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.threads/leader-exit-attach.exp b/gdb/testsuite/gdb.threads/leader-exit-attach.exp index c1ed1ba..a1bc2d4 100644 --- a/gdb/testsuite/gdb.threads/leader-exit-attach.exp +++ b/gdb/testsuite/gdb.threads/leader-exit-attach.exp @@ -41,19 +41,19 @@ set is_gdbserver [target_is_gdbserver] set attached 0 gdb_test_multiple "attach $testpid" "attach" { - -re "Attaching to process $testpid failed.*" { + -re -wrap "Attaching to process $testpid failed.*" { # GNU/Linux gdbserver. Linux ptrace does not let you attach # to zombie threads. setup_kfail "gdb/31555" *-*-linux* fail $gdb_test_name } - -re "warning: process $testpid is a zombie - the process has already terminated.*" { + -re -wrap "warning: process $testpid is a zombie - the process has already terminated.*" { # Native GNU/Linux. Linux ptrace does not let you attach to # zombie threads. setup_kfail "gdb/31555" *-*-linux* fail $gdb_test_name } - -re "Attaching to program: $escapedbinfile, process $testpid.*$gdb_prompt $" { + -re -wrap "Attaching to program: $escapedbinfile, process $testpid.*" { pass $gdb_test_name set attached 1 } |