Correctly report PARAM_ZUINTEGER_UNLIMITED rather than PARAM_ZUINTEGER
in testing a Python parameter of the PARAM_ZUINTEGER_UNLIMITED type.
gdb_test "python test_param_$kind.value = -1" "RuntimeError: Range exceeded.*"
} elseif {$kind == "PARAM_ZUINTEGER_UNLIMITED"} {
gdb_test_no_output "python test_param_$kind.value = -1" \
- "check that PARAM_ZUINTEGER value can be set to -1"
+ "check that PARAM_ZUINTEGER_UNLIMITED value can be set to -1"
gdb_test "python print(gdb.parameter('test-$kind'))" "-1" \
- "check that PARAM_ZUINTEGER value is -1 after setting"
+ "check that PARAM_ZUINTEGER_UNLIMITED value is -1 after setting"
} else {
error "invalid kind: $kind"
}