* lib/gdb.exp (skip_altivec_tests, skip_vsx_tests)
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.cp / breakpoint.exp
index 1072ff0287187ceea13be1c30c20d54f088b8153..d512a701b3b2a517d39b013982dce9af321b6d38 100644 (file)
 
 # This contains tests for breakpoints in C++.
 
-if $tracelevel then {
-        strace $tracelevel
-        }
-
 if { [skip_cplus_tests] } { continue }
 
 #
@@ -36,7 +32,7 @@ if  { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
      return -1
 }
 
-if [get_compiler_info ${binfile} "c++"] {
+if [get_compiler_info "c++"] {
     return -1
 }
 
@@ -50,7 +46,7 @@ proc test_breakpoint {name} {
     # lead to a cascade.
     if ![runto_main] then {
        perror "couldn't run to main when testing ${name}"
-       continue
+       return -code continue
     } else {
        gdb_breakpoint "${name}"
        gdb_test "continue" "Continuing.\r\n\r\nBreakpoint \[0-9\]*, ${name}.*" "continue to ${name}"
This page took 0.037349 seconds and 4 git commands to generate.