binutils-gdb/gdb/python
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
..
lib/gdb
py-all-events.def
py-arch.c gdb/python: new gdb.architecture_names function 2021-10-22 13:42:49 +01:00
py-auto-load.c
py-block.c
py-bpevent.c
py-breakpoint.c Use unique_xmalloc_ptr in breakpoint 2021-10-20 11:00:32 -06:00
py-cmd.c
py-continueevent.c
py-event-types.def
py-event.c
py-event.h
py-events.h
py-evtregistry.c
py-evts.c
py-exitedevent.c
py-finishbreakpoint.c
py-frame.c
py-framefilter.c
py-function.c
py-gdb-readline.c
py-inferior.c gdb: change functions returning value contents to use gdb::array_view 2021-10-25 14:51:44 -04:00
py-infevents.c
py-infthread.c
py-instruction.c
py-instruction.h
py-lazy-string.c
py-linetable.c
py-membuf.c gdb/python: move gdb.Membuf support into a new file 2021-10-22 13:43:42 +01:00
py-newobjfileevent.c
py-objfile.c
py-param.c
py-prettyprint.c
py-progspace.c
py-record-btrace.c
py-record-btrace.h
py-record-full.c
py-record-full.h
py-record.c
py-record.h
py-ref.h
py-registers.c
py-signalevent.c
py-stopevent.c
py-stopevent.h
py-symbol.c
py-symtab.c
py-threadevent.c
py-tui.c
py-type.c
py-unwind.c gdb: change functions returning value contents to use gdb::array_view 2021-10-25 14:51:44 -04:00
py-utils.c
py-value.c gdb: change functions returning value contents to use gdb::array_view 2021-10-25 14:51:44 -04:00
py-varobj.c
py-xmethods.c
python-config.py
python-internal.h gdb/python: move gdb.Membuf support into a new file 2021-10-22 13:43:42 +01:00
python.c gdb: add add_setshow_prefix_cmd 2021-10-28 10:44:18 -04:00
python.h