diff options
author | Joseph Myers <joseph@codesourcery.com> | 2009-09-03 22:03:21 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2009-09-03 22:03:21 +0000 |
commit | 9a68ae16f8d20dbb3474bde88566ae3171f33a90 (patch) | |
tree | 428472b573e23f236598235edbc468615aab2d20 /gdb/testsuite/gdb.base/ending-run.exp | |
parent | 146b914519bcccaec77bdc4c8c271b9f39573aa8 (diff) | |
download | fsf-binutils-gdb-9a68ae16f8d20dbb3474bde88566ae3171f33a90.zip fsf-binutils-gdb-9a68ae16f8d20dbb3474bde88566ae3171f33a90.tar.gz fsf-binutils-gdb-9a68ae16f8d20dbb3474bde88566ae3171f33a90.tar.bz2 |
* gdb.base/ending-run.exp: Restrict regular expression matching
line number to require closing brace following.
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/ending-run.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp index ccd5f6f..f789698 100644 --- a/gdb/testsuite/gdb.base/ending-run.exp +++ b/gdb/testsuite/gdb.base/ending-run.exp @@ -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" |