[PATCH 0/4] More command styling changes

Tom Tromey tom@tromey.com
Sun Jan 12 12:03:57 GMT 2025


This series adds a bit more command styling in the "help" output, and
fixes a couple of minor issues I noticed along the way.

Regression tested on x86-64 Fedora 40.

Signed-off-by: Tom Tromey <tom@tromey.com>
---
Tom Tromey (4):
      Avoid calling help_list in more places
      Use command style in "help" command
      Remove "enabled" output from show_index_cache_command
      Use command style in cmd_show_list

 gdb/auto-load.c                       |  4 +-
 gdb/cli/cli-cmds.c                    |  2 +-
 gdb/cli/cli-decode.c                  | 89 +++++++++++++++++++----------------
 gdb/cli/cli-decode.h                  |  3 ++
 gdb/cli/cli-setshow.c                 | 15 ++++--
 gdb/dwarf2/index-cache.c              |  5 --
 gdb/printcmd.c                        | 10 +---
 gdb/remote.c                          |  3 +-
 gdb/source.c                          | 29 +++---------
 gdb/testsuite/gdb.base/completion.exp |  4 +-
 gdb/testsuite/gdb.base/default.exp    | 36 +++++++-------
 gdb/testsuite/gdb.btrace/cpu.exp      |  4 +-
 gdb/testsuite/gdb.cp/maint.exp        |  2 +-
 gdb/testsuite/lib/gdb.exp             |  4 +-
 gdb/top.c                             |  6 +--
 gdb/tui/tui-layout.c                  | 10 +---
 gdb/tui/tui-win.c                     | 14 ++----
 17 files changed, 105 insertions(+), 135 deletions(-)
---
base-commit: fd7728c8a4aa7aa5761ccb18879ea8d137958b06
change-id: 20250111-submit-help-list-style-title-a47df78e0dc1

Best regards,
-- 
Tom Tromey <tom@tromey.com>



More information about the Gdb-patches mailing list