* gdb.base/ending-run.exp: Restrict regular expression matching

line number to require closing brace following.
This commit is contained in:
Joseph Myers 2009-09-03 22:03:21 +00:00
parent 146b914519
commit 9a68ae16f8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-09-03 Joseph Myers <joseph@codesourcery.com>
* gdb.base/ending-run.exp: Restrict regular expression matching
line number to require closing brace following.
2009-09-03 Doug Evans <dje@google.com>
* gdb.base/store.exp (check_set): Fix typo in expected value message.

View File

@ -120,7 +120,7 @@ set program_exited 0
send_gdb "next\n"
set nexted 0
gdb_expect {
-re "33.*$gdb_prompt $" {
-re "33\[ \t\]+\}.*$gdb_prompt $" {
# sometimes we stop at the closing brace, if so, do another next
if { $nexted } {
fail "step out of main"