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 gdb: add setting to disable reading source code files 2021-09-27 11:31:35 +01:00
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 gdb: change functions returning value contents to use gdb::array_view 2021-10-25 14:51:44 -04:00
cli-interp.c gdb: remove bpstat typedef, rename bpstats to bpstat 2021-11-08 16:39:14 -05:00
cli-interp.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
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 gdb: make string-like set show commands use std::string variable 2021-10-03 17:53:16 +01:00
cli-script.c Move value_true to value.h 2021-09-24 11:58:04 -06:00
cli-script.h cli-script: use unique_ptr to not leak next struct 2021-05-20 21:03:47 +02:00
cli-setshow.c Introduce make_unique_xstrndup 2021-11-05 13:58:48 -06:00
cli-setshow.h gdb: Introduce setting construct within cmd_list_element 2021-10-03 17:53:16 +01:00
cli-style.c gdb: rename source_styling_changed observer 2021-11-25 10:14:50 +00:00
cli-style.h gdb: generate the prefix name for prefix commands on demand 2021-05-12 11:19:22 +01:00
cli-utils.c gdb/gdbsupport: make xstrprintf and xstrvprintf return a unique_ptr 2021-11-16 17:45:45 +00:00
cli-utils.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00