"Testing the \"$abbrev\" abbreviation for \"finish\""
}
+# Test "set print finish off".
+proc finish_no_print {} {
+ global decimal
+
+ if {![runto "int_func"]} {
+ untested "couldn't run to main"
+ return
+ }
+ gdb_test_no_output "set print finish off"
+ gdb_test "finish" \
+ "Value returned is \\\$$decimal = <not displayed>"
+ gdb_test "print \$" " = 1" \
+ "Ensure return value was properly saved"
+}
+
proc finish_tests { } {
global gdb_prompt skip_float_test
finish_1 "double"
}
finish_abbreviation "fin"
+ finish_no_print
}
set prev_timeout $timeout