Revert 2009-08-07 changes for PR gdb/8869:
authorPedro Alves <palves@redhat.com>
Thu, 13 Aug 2009 14:56:19 +0000 (14:56 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 13 Aug 2009 14:56:19 +0000 (14:56 +0000)
commit5efd5804f7ba64dc4c42d8c3db2d4ab2eeebac75
treefe02f5e8a7893f132d4726987987651c18dd3a29
parentef5e0cb158fe57480e963c022879ccf50bf1f335
Revert 2009-08-07 changes for PR gdb/8869:

* language.c (set_language_command): Strip whitespace.
(set_type_command): Likewise.
(set_range_command): Likewise.

* language.c (language_completer): New function.
(range_or_type_completer): New function.
(case_completer): New function.
(_initialize_language): Set completers.
* cli/cli-decode.c (add_setshow_string_cmd): Return the "set"
command.
(add_setshow_string_noescape_cmd): Likewise.
(add_setshow_integer_cmd): Likewise.
(add_setshow_uinteger_cmd): Likewise.
(add_setshow_zinteger_cmd): Likewise.
(add_setshow_zuinteger_cmd): Likewise.
* command.h (add_setshow_string_cmd,
add_setshow_string_noescape_cmd, add_setshow_uinteger_cmd,
add_setshow_zinteger_cmd, add_setshow_zuinteger_cmd): Update.
gdb/ChangeLog
gdb/cli/cli-decode.c
gdb/command.h
gdb/language.c