aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-08-13 14:58:27 +0000
committerPedro Alves <palves@redhat.com>2009-08-13 14:58:27 +0000
commitb84aa90aa5b2c265030ca85a70a4547f8f893690 (patch)
tree0c3dc61f8a3e6cbba1bef1f8ea963909ac7a03cc /gdb/ChangeLog
parent5efd5804f7ba64dc4c42d8c3db2d4ab2eeebac75 (diff)
downloadgdb-b84aa90aa5b2c265030ca85a70a4547f8f893690.zip
gdb-b84aa90aa5b2c265030ca85a70a4547f8f893690.tar.gz
gdb-b84aa90aa5b2c265030ca85a70a4547f8f893690.tar.bz2
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 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog35
1 files changed, 35 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6b734f7..8c69a5b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,40 @@
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>
+
Revert 2009-08-07 changes for PR gdb/8869:
* language.c (set_language_command): Strip whitespace.