PR gdb/8869:
authorTom Tromey <tromey@redhat.com>
Fri, 7 Aug 2009 20:44:15 +0000 (20:44 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 7 Aug 2009 20:44:15 +0000 (20:44 +0000)
commit6cc0b2563e4aae5352e78e09370a0ba59feb26fc
treedde8ea69a789d37c058a30f675835b136e3d7cfc
parentcf2a6cfab69c160b11b0bc1a4b00e58ade531ee9
PR gdb/8869:
* 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