]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Avoid calling help_list in more places
authorTom Tromey <tom@tromey.com>
Sat, 11 Jan 2025 20:50:50 +0000 (13:50 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 29 Jan 2025 17:21:49 +0000 (10:21 -0700)
commitaf16bf565f83e1fd71d6acfed05d670993528a0d
treedd34ef6526488fe6005067ca30581b48a9c4a6f0
parent7a3e81eaa4a6ab84b6b477f88f382b7e65fcfcee
Avoid calling help_list in more places

I think there is no need to have a prefix command that simply calls
help_list.  Instead, add_basic_prefix_cmd can be used.  This patch
changes the relevant instances.  In one spot, add_setshow_prefix_cmd
is used instead.
gdb/printcmd.c
gdb/source.c
gdb/tui/tui-layout.c
gdb/tui/tui-win.c