binutils-gdb/gdb/cli
Simon Marchi e34e391824 gdb: don't show deprecated aliases
I don't think it's very useful to show deprecated aliases to the
user.  It encourages the user to use them, when the goal is the
opposite.

For example, before:

    (gdb) help set index-cache enabled
    set index-cache enabled, set index-cache off, set index-cache on
      alias set index-cache off = set index-cache enabled off
      alias set index-cache on = set index-cache enabled on
    Enable the index cache.
    When on, enable the use of the index cache.

    (gdb) help set index-cache on
    Warning: 'set index-cache on', an alias for the command 'set index-cache enabled', is deprecated.
    Use 'set index-cache enabled on'.

    set index-cache enabled, set index-cache off, set index-cache on
      alias set index-cache off = set index-cache enabled off
      alias set index-cache on = set index-cache enabled on
    Enable the index cache.
    When on, enable the use of the index cache.

After:

    (gdb) help set index-cache enabled
    Enable the index cache.
    When on, enable the use of the index cache.
    (gdb) help set index-cache on
    Warning: 'set index-cache on', an alias for the command 'set index-cache enabled', is deprecated.
    Use 'set index-cache enabled on'.

    Enable the index cache.
    When on, enable the use of the index cache.

Change-Id: I989b618a5ad96ba975367e9d16db95523cd57a4c
2021-12-04 09:06:23 -05:00
..
cli-cmds.c gdb/gdbsupport: make xstrprintf and xstrvprintf return a unique_ptr 2021-11-16 17:45:45 +00:00
cli-cmds.h
cli-decode.c gdb: don't show deprecated aliases 2021-12-04 09:06:23 -05:00
cli-decode.h gdb: use intrusive_list for cmd_list_element aliases list 2021-12-03 16:48:23 -05:00
cli-dump.c
cli-interp.c gdb: remove bpstat typedef, rename bpstats to bpstat 2021-11-08 16:39:14 -05:00
cli-interp.h
cli-logging.c gdb: make saved_filename an std::string 2021-12-03 08:24:11 -05:00
cli-option.c gdbsupport: make gdb_assert_not_reached accept a format string 2021-11-18 11:29:19 -05:00
cli-option.h
cli-script.c
cli-script.h
cli-setshow.c Introduce make_unique_xstrndup 2021-11-05 13:58:48 -06:00
cli-setshow.h
cli-style.c gdb: rename source_styling_changed observer 2021-11-25 10:14:50 +00:00
cli-style.h
cli-utils.c gdb/gdbsupport: make xstrprintf and xstrvprintf return a unique_ptr 2021-11-16 17:45:45 +00:00
cli-utils.h