mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
* lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
don't give an error. * gdb.base/term.exp: Call delete_breakpoints before starting.
This commit is contained in:
parent
63fb699b06
commit
31711c6961
@ -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.
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user