This patch is purely the result of running:
$ sed -i 's/^ return -1/ return/' s390*.exp*
and
$ sed -i 's/^ return 0/ return/' s390*.exp*
inside gdb/testsuite/gdb.arch.
I didn't include changes made to return statements inside procedures.
Approved-By: Tom Tromey <tom@tromey.com>
standard_testfile .S
if { [prepare_for_testing "failed to prepare" $testfile $srcfile] } {
- return -1
+ return
}
# Run until SIGSEGV.
# endless loop would result.
if { [prepare_for_testing "failed to prepare" $testfile $srcfile \
[list "debug" "additional_flags=-msoft-float"]] } {
- return -1
+ return
}
if {![runto_main]} {
- return 0
+ return
}
gdb_test_multiple "next" "check for TE support" {
if { [prepare_for_testing "failed to prepare" $testfile $srcfile \
[list "additional_flags=-mzarch"]] } {
- return -1
+ return
}
if {![runto_main]} {
- return -1
+ return
}
# Run to the first vector instruction and step it. If the inferior
if {[llength $cores] != 1} {
untested "core file not found"
remote_exec build "rm -rf $coredir"
- return -1
+ return
}
set destcore [standard_output_file ${testfile}.core]
remote_exec build "mv [file join $coredir [lindex $cores 0]] $destcore"