diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/del.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/del.exp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/del.exp b/gdb/testsuite/gdb.base/del.exp index 6201e9e..f5779ea 100644 --- a/gdb/testsuite/gdb.base/del.exp +++ b/gdb/testsuite/gdb.base/del.exp @@ -44,9 +44,9 @@ proc test_delete_alias { alias } { # First of all, remove all previous breakpoints if there were any, # and then verify that we do not have any breakpoint lying around. - gdb_test "delete" \ - "" \ + gdb_test_no_output "delete" \ "Remove all breakpoints ($alias)" + gdb_test "info break" \ "No breakpoints or watchpoints." \ "info break after removing break on main" @@ -59,8 +59,7 @@ proc test_delete_alias { alias } { "Breakpoint.*at.* file .*$srcfile, line.*" \ "breakpoint insertion ($alias)" - gdb_test "$alias \$bpnum" \ - "" \ + gdb_test_no_output "$alias \$bpnum" \ "Remove last breakpoint ($alias)" gdb_test "info break" \ |