diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-01-16 01:56:16 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2003-01-16 01:56:16 +0000 |
commit | 0fbc361cc707fc68e2661e7a6163df687d7a38ad (patch) | |
tree | 36785a5373108653c69297d8b6446f4c9164e392 /gdb/testsuite/gdb.base/break.exp | |
parent | c362c33a0d5c1919c5097a4004d1670338789812 (diff) | |
download | gdb-0fbc361cc707fc68e2661e7a6163df687d7a38ad.zip gdb-0fbc361cc707fc68e2661e7a6163df687d7a38ad.tar.gz gdb-0fbc361cc707fc68e2661e7a6163df687d7a38ad.tar.bz2 |
2003-01-15 Elena Zannoni <ezannoni@redhat.com>
* gdb.base/break.exp: Fix change of default location, because of
removal of until tests.
* gdb.base/help.exp: Update test for new 'until' help message.
Add test for help on 'advance'.
Diffstat (limited to 'gdb/testsuite/gdb.base/break.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/break.exp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/break.exp b/gdb/testsuite/gdb.base/break.exp index 6e393e6..fbc0e11 100644 --- a/gdb/testsuite/gdb.base/break.exp +++ b/gdb/testsuite/gdb.base/break.exp @@ -375,6 +375,12 @@ gdb_expect { timeout {fail "(timeout) break on non-existent source line"} } +# Run to the desired default location. If not positioned here, the +# tests below don't work. +# +gdb_test "until 79" "main .* at .*:79.*" "until 79" + + # Verify that GDB allows one to just say "break", which is treated # as the "default" breakpoint. Note that GDB gets cute when printing # the informational message about other breakpoints at the same |