aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-06-07 16:40:10 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-06-07 16:40:10 +0000
commit68361314c02e6958245e02bbd204ecdec71d42dd (patch)
treeb7420d7d4b9db5348d05abe9062029aed219025c /gdb/testsuite
parent31711c69614bcf4f9f3a2f8ea48f810f7b81739b (diff)
downloadgdb-68361314c02e6958245e02bbd204ecdec71d42dd.zip
gdb-68361314c02e6958245e02bbd204ecdec71d42dd.tar.gz
gdb-68361314c02e6958245e02bbd204ecdec71d42dd.tar.bz2
* gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
(which was basically just a local version of the same thing). In addition to avoiding duplication, gdb_test_exact is faster. * lib/gdb.exp (gdb_test_exact): Fix typo.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/lib/gdb.exp2
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index d886f6c..8230dd5 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,7 +1,13 @@
Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
+ * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
+ (which was basically just a local version of the same thing). In
+ addition to avoiding duplication, gdb_test_exact is faster.
+ * lib/gdb.exp (gdb_test_exact): Fix typo.
+
* lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
don't give an error.
+
* gdb.base/term.exp: Call delete_breakpoints before starting.
* gdb.base/Makefile.in (EXECUTABLES): Remove t10.
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 8ca6876..35ac4e1 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -271,7 +271,7 @@ proc string_to_regexp {str} {
proc gdb_test_exact { args } {
set command [lindex $args 0]
- set pattern [string_to_regexp [lindex args 1]]
+ set pattern [string_to_regexp [lindex $args 1]]
if [llength $args]==3 then {
set message [lindex $args 2]
} else {