}
if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $compile_flags] != "" } {
- untested "failed to compile"
- return -1
+ untested "failed to compile"
+ return
}
gdb_start
set src1 ${srcdir}/${subdir}/${testfile}.c
if { [gdb_compile ${src1} ${binfile} executable {debug nowarnings}] != "" } {
- untested "failed to compile"
- return -1
+ untested "failed to compile"
+ return
}
gdb_start
set src1 ${srcdir}/${subdir}/${testfile}.c
if { [gdb_compile ${src1} ${binfile} executable {debug nowarnings}] != "" } {
- untested "failed to compile"
- return -1
+ untested "failed to compile"
+ return
}
gdb_start
standard_testfile
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {quiet debug}] != "" } {
- untested "failed to compile"
- return -1
+ untested "failed to compile"
+ return
}
clean_restart $::testfile
clean_restart $testfile
if {![runto bar]} {
- untested "could not run to bar"
- return -1
+ untested "could not run to bar"
+ return
}
gdb_test "bt" \
}
if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $compile_flags] != "" } {
- untested "failed to compile"
- return -1
+ untested "failed to compile"
+ return
}
gdb_start
# Test reading the core file.
if {!$core_supported} {
- return -1
+ return
}
clean_restart
}
if { [gdb_compile ${srcdir}/${subdir}/${srcfile} ${binfile} executable $compile_flags] != "" } {
- untested "failed to compile"
- return -1
+ untested "failed to compile"
+ return
}
gdb_start