commit | f54bdb6d2799c658e076f10e42222949dc51032d | [log] [tgz] |
---|---|---|
author | Simon Marchi <simon.marchi@polymtl.ca> | Wed Sep 22 13:43:25 2021 -0400 |
committer | Simon Marchi <simon.marchi@efficios.com> | Thu Oct 28 10:44:18 2021 -0400 |
tree | bd9804255bf472e93740a8b47b2f90d5bde939c3 | |
parent | 5ad2694b1ebe123ea92fcee094a69bcdc9769985 [diff] |
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