From: Jim Kingdon Date: Fri, 24 Mar 1995 16:38:06 +0000 (+0000) Subject: * gdb.base/a1-selftest.exp: Don't check for # followed by a digit X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac35a0030ece29c5e89d76e4e5699b75e5b03dca;p=binutils-gdb.git * 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. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 89796c7f4bd..2641026509f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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) diff --git a/gdb/testsuite/gdb.base/a1-selftest.exp b/gdb/testsuite/gdb.base/a1-selftest.exp index 9bed3fba19c..b2e0f33a78c 100644 --- a/gdb/testsuite/gdb.base/a1-selftest.exp +++ b/gdb/testsuite/gdb.base/a1-selftest.exp @@ -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 $" {