* 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.
This commit is contained in:
parent
31711c6961
commit
68361314c0
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue