if (*arg == nullptr || **arg == '\0')
{
if (var_type == var_uinteger)
- error_no_arg (_("integer to set it to, or \"unlimited\"."));
+ error_no_arg (_("integer to set it to, or \"unlimited\""));
else
- error_no_arg (_("integer to set it to."));
+ error_no_arg (_("integer to set it to"));
}
if (var_type == var_uinteger && is_unlimited_literal (arg, expression))
LONGEST val;
if (*arg == nullptr || **arg == '\0')
- error_no_arg (_("integer to set it to, or \"unlimited\"."));
+ error_no_arg (_("integer to set it to, or \"unlimited\""));
if (is_unlimited_literal (arg, expression))
val = -1;
if (*arg == '\0')
{
if (c->var->type () == var_integer)
- error_no_arg (_("integer to set it to, or \"unlimited\"."));
+ error_no_arg (_("integer to set it to, or \"unlimited\""));
else
- error_no_arg (_("integer to set it to."));
+ error_no_arg (_("integer to set it to"));
}
if (c->var->type () == var_integer && is_unlimited_literal (&arg, true))
test_with_error "boolean" "2" "\"on\" or \"off\" expected\\."
test_with_error "uinteger" "-1" "integer -1 out of range"
test_with_error "uinteger" "" \
- "Argument required \\(integer to set it to, or \"unlimited\"\\.\\)\\."
+ "Argument required \\(integer to set it to, or \"unlimited\"\\)\\."
test_with_error "zuinteger" "-1" "integer -1 out of range"
test_with_error "zuinteger" "" \
- "Argument required \\(integer to set it to\\.\\)\\."
+ "Argument required \\(integer to set it to\\)\\."
test_with_error "zuinteger-unlimited" "-2" \
"only -1 is allowed to set as unlimited"
test_with_error "zuinteger-unlimited" "" \
- "Argument required \\(integer to set it to, or \"unlimited\"\\.\\)\\."
+ "Argument required \\(integer to set it to, or \"unlimited\"\\)\\."
test_with_error "filename" "" \
"Argument required \\(filename to set it to\\.\\)\\."
test_with_error "enum" "" \
"Cannot use this setting with the \"with\" command"
gdb_test "with print elements -- p 1" \
- "Argument required \\(integer to set it to, or \"unlimited\"\\.\\)\\."
+ "Argument required \\(integer to set it to, or \"unlimited\"\\)\\."
gdb_test "with -- p 1" \
"Missing setting before '--' delimiter"