+# 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"
+}
+