diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-05-22 14:33:12 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2008-05-22 14:33:12 +0000 |
commit | 103a86713589f2ed97b20281a3f16e47b0f3e270 (patch) | |
tree | 849560a6d7bd387d417409963aa81e3182c97095 /gdb/testsuite/gdb.base/longjmp.exp | |
parent | ab9909c508b4eb6febf7eb854f425b5c931d1437 (diff) | |
download | gdb-103a86713589f2ed97b20281a3f16e47b0f3e270.zip gdb-103a86713589f2ed97b20281a3f16e47b0f3e270.tar.gz gdb-103a86713589f2ed97b20281a3f16e47b0f3e270.tar.bz2 |
* gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
Diffstat (limited to 'gdb/testsuite/gdb.base/longjmp.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/longjmp.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/longjmp.exp b/gdb/testsuite/gdb.base/longjmp.exp index da8f484..90ac829 100644 --- a/gdb/testsuite/gdb.base/longjmp.exp +++ b/gdb/testsuite/gdb.base/longjmp.exp @@ -75,12 +75,12 @@ gdb_test "next" "longjmp \\(env, 1\\);.*" "next to longjmp (1)" set msg "next over longjmp(1)" gdb_test_multiple "next" $msg { - -re ".*patt1.*" { + -re ".*patt1.*$gdb_prompt $" { pass $msg gdb_test "next" "resumes\\+\\+.*" "next into else block (1)" gdb_test "next" "miss_step_1.*" "next into safety net (1)" } - -re "miss_step_1.*" { + -re "miss_step_1.*$gdb_prompt $" { fail $msg } } @@ -105,13 +105,13 @@ gdb_test "next" "call_longjmp.*" "next over setjmp (2)" set msg "next over call_longjmp (2)" gdb_test_multiple "next" $msg { - -re ".*patt2.*" { + -re ".*patt2.*$gdb_prompt $" { pass $msg gdb_test "next" "resumes\\+\\+.*" "next into else block (2)" gdb_test "next" "miss_step_2.*" "next into safety net (2)" } - -re "miss_step_2.*" { + -re "miss_step_2.*$gdb_prompt $" { fail $msg } } |