binutils-gdb/gdb/cli
Simon Marchi f54bdb6d27 gdb: add add_setshow_prefix_cmd
There's a common pattern to call add_basic_prefix_cmd and
add_show_prefix_cmd to add matching set and show commands.  Add the
add_setshow_prefix_cmd function to factor that out and use it at a few
places.

Change-Id: I6e9e90a30e9efb7b255bf839cac27b85d7069cfd
2021-10-28 10:44:18 -04:00
..
cli-cmds.c gdb: add add_setshow_prefix_cmd 2021-10-28 10:44:18 -04: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: add add_setshow_prefix_cmd 2021-10-28 10:44:18 -04:00
cli-decode.h gdb: Introduce setting construct within cmd_list_element 2021-10-03 17:53:16 +01: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
cli-interp.h
cli-logging.c gdb: add add_setshow_prefix_cmd 2021-10-28 10:44:18 -04:00
cli-option.c gdb: make string-like set show commands use std::string variable 2021-10-03 17:53:16 +01: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-setshow.c gdb: Setting setter return a bool to tell if the value changed 2021-10-03 17:53:16 +01:00
cli-setshow.h gdb: Introduce setting construct within cmd_list_element 2021-10-03 17:53:16 +01:00
cli-style.c gdb: add add_setshow_prefix_cmd 2021-10-28 10:44:18 -04:00
cli-style.h
cli-utils.c
cli-utils.h