This patch is purely the result of running:
$ sed -i 's/^ return -1/ return/' sparc*.exp*
and
$ sed -i 's/^ return 0/ return/' sparc*.exp*
inside gdb/testsuite/gdb.arch.
Approved-By: Tom Tromey <tom@tromey.com>
set opts {}
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {additional_flags=-g}]} {
- return -1
+ return
}
if {![runto_main]} {
- return -1
+ return
}
# Watching the global variable will guarantee that gdb will
if { [prepare_for_testing "failed to prepare" $testfile $srcfile \
[list debug libs=-ladi]] } {
- return -1
+ return
}
if {![runto_main]} {
- return -1
+ return
}
gdb_test "break [gdb_get_line_number "line breakpoint here"]" \
standard_testfile .S
if { [prepare_for_testing "failed to prepare" ${testfile} ${srcfile}] } {
- return -1
+ return
}
if {![runto_main]} {
- return 0
+ return
}
##########################################