This patch changes statements that return 0 from the top level, and also
one "return -1" statement that wasn't caught by sed.
Approved-By: Tom Tromey <tom@tromey.com>
gdb_assert { $main_screen_line == 7 } \
"check main is where we expect on the screen"
if { $main_screen_line == -1 } {
- return 0
+ return
}
# Check the horizontal scrolling.
if {![Term::prepare_for_tui]} {
unsupported "TUI not supported"
- return 0
+ return
}
# Enter TUI.
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "$binfile" \
executable $ccopts] != "" } {
untested "compile"
- return -1
+ return
}
}
if {![Term::prepare_for_tui]} {
unsupported "TUI not supported"
- return 0
+ return
}
# Generate prompt.