* gdb.gdb/selftest.exp (do_steps_and_nexts): Match spaces as well

as tabs.  Remove redundant test pattern.
This commit is contained in:
Mark Kettenis 2007-03-12 21:58:19 +00:00
parent 8a2ed48987
commit b6db2c4783
2 changed files with 6 additions and 5 deletions

View File

@ -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 <...>

View File

@ -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"