diff options
author | Mark Kettenis <kettenis@gnu.org> | 2007-03-12 21:58:19 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2007-03-12 21:58:19 +0000 |
commit | b6db2c478324c55bd90ae0a416305f301e2efde3 (patch) | |
tree | b1d0f5e730e93d39afec6e78c7663b847316f128 | |
parent | 8a2ed4898725a7b21481ed0b4fa1c21d9c25f0bd (diff) | |
download | gdb-b6db2c478324c55bd90ae0a416305f301e2efde3.zip gdb-b6db2c478324c55bd90ae0a416305f301e2efde3.tar.gz gdb-b6db2c478324c55bd90ae0a416305f301e2efde3.tar.bz2 |
* gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well
as tabs. Remove redundant test pattern.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.gdb/selftest.exp | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 189425d..9300ec3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-03-12 Mark Kettenis <kettenis@gnu.org> + + * gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well + as tabs. Remove redundant test pattern. + 2007-03-09 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> * gdb.base/long_long.exp: Accept optional symbol name in <...> diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp index 32d56ad..10805db 100644 --- a/gdb/testsuite/gdb.gdb/selftest.exp +++ b/gdb/testsuite/gdb.gdb/selftest.exp @@ -159,7 +159,7 @@ proc do_steps_and_nexts {} { set description "next over textdomain PACKAGE" set command "next" } - -re "\[0-9\]*\t\{\r\n$gdb_prompt $" { + -re "\[0-9\]+\[\t \]+\{\r\n$gdb_prompt $" { set description "step over initial brace" set command "step" } @@ -197,10 +197,6 @@ proc do_steps_and_nexts {} { set description "step over gdb_stderr initialization" set command "step" } - -re "\[ \t\]+\{\r\n$gdb_prompt $" { - setup_xfail "mips-*-irix5*" - fail "$description ended up at odd location" - } -re ".*main.c.*No such file or directory.*$gdb_prompt $" { setup_xfail "rs6000-*-aix3*" fail "must be able to list source lines" |