summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/class2.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.cp/class2.exp')
-rw-r--r--gdb/testsuite/gdb.cp/class2.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.cp/class2.exp b/gdb/testsuite/gdb.cp/class2.exp
index 02f33bea599..04f665b2251 100644
--- a/gdb/testsuite/gdb.cp/class2.exp
+++ b/gdb/testsuite/gdb.cp/class2.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] } { continue }
+if { [skip_cplus_tests] } { return }
standard_testfile .cc
@@ -35,7 +35,7 @@ gdb_test_no_output "set print symbol off"
if ![runto_main] then {
perror "couldn't run to main"
- continue
+ return
}
get_debug_format