diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-06-07 16:04:40 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-06-07 16:04:40 +0000 |
commit | 31711c69614bcf4f9f3a2f8ea48f810f7b81739b (patch) | |
tree | 86cec8d1975d8084b0a02339c3cdc17937ad4bb1 /gdb | |
parent | 63fb699b06c6649ec897c9b64c55fab42764960a (diff) | |
download | gdb-31711c69614bcf4f9f3a2f8ea48f810f7b81739b.zip gdb-31711c69614bcf4f9f3a2f8ea48f810f7b81739b.tar.gz gdb-31711c69614bcf4f9f3a2f8ea48f810f7b81739b.tar.bz2 |
* lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
don't give an error.
* gdb.base/term.exp: Call delete_breakpoints before starting.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/lib/gdb.exp | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a5765ad..d886f6c 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,9 @@ Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com) + * 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. (t10): Add comment. diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp index 126422e..8ca6876 100644 --- a/gdb/testsuite/lib/gdb.exp +++ b/gdb/testsuite/lib/gdb.exp @@ -99,7 +99,8 @@ proc delete_breakpoints {} { exp_continue } -re "y\r\n$prompt $" {} - -re ".*$prompt $" { perror "Delete all breakpoints" ; return } + -re ".*$prompt $" { # This happens if there were no breakpoints + } timeout { perror "Delete all breakpoints (timeout)" ; return } } send "info breakpoints\n" |