mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-18 05:12:33 +08:00
gdb: include help aliases in help command completion
There are a bunch of aliases that get used with help, but the current command completion logic does not include those when doing completions. Since the framework is already mostly in place, extend complete_on_cmdlist slightly to pass down the ignore_help_classes flag like is done with the existing lookup command logic. Now you can do: (gdb) help use<tab> and get back: (gdb) help user-defined Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@ -216,7 +216,7 @@ extern struct cmd_list_element *add_info (char *,
|
||||
extern struct cmd_list_element *add_info_alias (char *, char *, int);
|
||||
|
||||
extern VEC (char_ptr) *complete_on_cmdlist (struct cmd_list_element *,
|
||||
char *, char *);
|
||||
char *, char *, int);
|
||||
|
||||
extern VEC (char_ptr) *complete_on_enum (const char *const *enumlist,
|
||||
char *, char *);
|
||||
|
Reference in New Issue
Block a user