summaryrefslogtreecommitdiff
path: root/libdecnumber
diff options
context:
space:
mode:
authorPedro Alves <pedro@codesourcery.com>2009-08-13 14:58:25 +0000
committerPedro Alves <pedro@codesourcery.com>2009-08-13 14:58:25 +0000
commit82648c0411ee11b4ba5446997e202bcb682fd369 (patch)
treeed46d47cec25927ed0dcc4efa1a64105937ecc15 /libdecnumber
parent8c3a12a4542b48fcc9286fe35958ce994518f9e5 (diff)
downloadgdb-82648c0411ee11b4ba5446997e202bcb682fd369.tar.gz
2009-08-13 Pedro Alves <pedro@codesourcery.com>
PR gdb/8869: * language.c (language, type, range, case_sensitive): Make const. (show_language_command): Don't call deprecated_show_value_hack. Special case "auto". (set_language_command): An unrecognized language is now an internal error instead of a user error. Don't call set_lang_str. (show_type_command): Don't call deprecated_show_value_hack. Special case "auto". Use warning. (set_type_command): An unrecognized type is now an internal error instead of a user error. Output type check mismatch with language here. Don't call set_type_str. (show_range_command): Don't call deprecated_show_value_hack. Special case "auto". Use warning. (set_range_command): An unrecognized range check is now an internal error instead of a warning. Output range check mismatch with language here. Don't call set_range_str. (show_case_command): Don't call deprecated_show_value_hack. Special case "auto". Use warning. (set_case_command): Don't call set_case_str. An unrecognized case check is now an internal error instead of a warning. Output range check mismatch with language here. Don't call set_case_str. (set_type_range_case): Don't call set_type_str, set_range_str or set_case_str here. (set_lang_str, set_type_str, set_range_str, set_case_str): Delete. (add_language): Install or reinstall the "set language" command here, and make it an enum command. Build the enumeration and the help string from the current list of known languages. (_initialize_language): Don't install "set language" here. Make "set check type", "set check range" and "set case-sensitive" enum commands. Register the "auto" "local" and "unknown" languages in that order. 2009-08-13 Pedro Alves <pedro@codesourcery.com> * gdb.base/default.exp: Adjust "set language test": it's now an enum command. Larger help string moved to "help set language". * gdb.base/help.exp: Adjust "help set language" expected output, now lists all known languages.
Diffstat (limited to 'libdecnumber')
0 files changed, 0 insertions, 0 deletions