[PATCH 0/5] Change some index-cache commands

Simon Marchi simon.marchi@efficios.com
Mon Nov 1 15:50:04 GMT 2021


Reviewing Aaron's debuginfod series (which adds a command to
enable/disable the use of debuginfod) made me reconsider how I
designed the index-cache commands.  The details about that are in the
last two patches.  The first three patches are preparatory cleanups or
improvements.

Simon Marchi (5):
  gdb: pass/return setting setter/getter scalar values by value
  gdb: remove unnecessary cmd_list_element::aliases nullptr checks
  gdb: remove command_class enum class_deprecated
  gdb: add "info index-cache stats", deprecate "show index-cache stats"
  gdb: introduce "set index-cache enabled", deprecate "set index-cache
    on/off"

 gdb/cli/cli-decode.c                         | 112 ++++++++++-------
 gdb/cli/cli-setshow.c                        |   6 +-
 gdb/command.h                                |  85 +++++++------
 gdb/doc/gdb.texinfo                          |  10 +-
 gdb/dwarf2/index-cache.c                     | 126 ++++++++++---------
 gdb/remote.c                                 |   5 +-
 gdb/testsuite/gdb.base/index-cache.exp       |  34 +++--
 gdb/testsuite/gdb.base/maint.exp             |   8 +-
 gdb/testsuite/gdb.dwarf2/per-bfd-sharing.exp |   6 +-
 9 files changed, 225 insertions(+), 167 deletions(-)

-- 
2.26.2



More information about the Gdb-patches mailing list