diff options
Diffstat (limited to 'gdb/testsuite/gdb.cp/watch-cp.exp')
-rw-r--r-- | gdb/testsuite/gdb.cp/watch-cp.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/watch-cp.exp b/gdb/testsuite/gdb.cp/watch-cp.exp index 2aba411af86..30e804d3858 100644 --- a/gdb/testsuite/gdb.cp/watch-cp.exp +++ b/gdb/testsuite/gdb.cp/watch-cp.exp @@ -13,7 +13,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -if { [skip_cplus_tests] || [skip_hw_watchpoint_tests]} { continue } +if { [skip_cplus_tests] || [skip_hw_watchpoint_tests]} { return } standard_testfile .cc @@ -23,7 +23,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} { if ![runto_main] then { perror "couldn't run to main" - continue + return } gdb_test "watch watchme\[3\]" "atchpoint .*: watchme.*" "set watchpoint" |