aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1995-03-24 16:38:06 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1995-03-24 16:38:06 +0000
commitac35a0030ece29c5e89d76e4e5699b75e5b03dca (patch)
treec652a1e047b645f49256db77aae283212fb00799 /gdb/testsuite
parent6e131ad8e1f69d6d7487e6524a59f25fbbc704e4 (diff)
downloadgdb-ac35a0030ece29c5e89d76e4e5699b75e5b03dca.zip
gdb-ac35a0030ece29c5e89d76e4e5699b75e5b03dca.tar.gz
gdb-ac35a0030ece29c5e89d76e4e5699b75e5b03dca.tar.bz2
* 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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/a1-selftest.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 89796c7..2641026 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 9bed3fb..b2e0f33 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 $" {