* gdb.base/a1-selftest.exp: Don't check for # followed by a digit

somewhere between `read' and `main.c'.  I'm pretty sure the
	pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
	and it isn't particularly useful.
This commit is contained in:
Jim Kingdon 1995-03-24 16:38:06 +00:00
parent 6e131ad8e1
commit ac35a0030e
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,10 @@
Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
* gdb.base/a1-selftest.exp: Don't check for # followed by a digit
somewhere between `read' and `main.c'. I'm pretty sure the
pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
and it isn't particularly useful.
* gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)

View file

@ -452,7 +452,7 @@ GDB.*Copyright \[0-9\]+ Free Software Foundation, Inc..*$prompt $"\
set description "backtrace through signal handler"
send "backtrace\n"
expect {
-re "#0.*read.*#\[1-9\].*main.c.*$prompt $" {
-re "#0.*read.*in main \\(.*\\) at .*main\\.c.*$prompt $" {
pass "$description"
}
-re ".*$prompt $" {