}
if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} $sep_lib_flags] != ""
|| [gdb_compile ${srcfile} ${binfile} executable $bin_flags] != "" } {
- untested "Could not compile $binfile_lib or $binfile."
+ untested "could not compile $binfile_lib or $binfile."
return -1
}
if {$libsepdebug == "SEP"} {
if {[gdb_gnu_strip_debug $binfile_lib] != 0} {
- unsupported "Could not split debug of $binfile_lib."
+ unsupported "could not split debug of $binfile_lib."
return
} else {
pass "split solib"
clean_restart $executable
if ![runto_main] then {
- fail "Can't run to main"
+ fail "can't run to main"
return 0
}
gdb_test "display c_global" "3: c_global = 43"
if { [gdb_start_cmd] < 0 } {
- fail "Can't run to main (2)"
+ fail "can't run to main (2)"
continue
}
# Now rebuild the library without b_global
if { [gdb_compile_shlib ${srcfile_lib} ${binfile_lib} \
"$sep_lib_flags additional_flags=-DNO_B_GLOBAL"] != ""} {
- fail "Can't rebuild $binfile_lib"
+ fail "can't rebuild $binfile_lib"
}
if {$libsepdebug == "SEP"} {
}
if { [gdb_start_cmd] < 0 } {
- fail "Can't run to main (3)"
+ fail "can't run to main (3)"
continue
}
gdb_test "display a_static" "6: a_static = 46"
if { [gdb_start_cmd] < 0 } {
- fail "Can't run to main (4)"
+ fail "can't run to main (4)"
continue
}