mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
2011-03-11 Michael Snyder <msnyder@vmware.com>
* cli/cli-decode.h (CMD_LIST_AMBIGUOUS): Define. * cli/cli-decode.c (lookup_cmd_1): Use CMD_LIST_AMBIGUOUS. (lookup_cmd): Test for CMD_LIST_AMBIGUOUS. * completer.c (complete_line_internal): Use CMD_LIST_AMBIGUOUS. * top.c (set_verbose): Use CMD_LIST_AMBIGUOUS.
This commit is contained in:
@@ -210,6 +210,9 @@ struct cmd_list_element
|
||||
struct cmd_list_element *alias_chain;
|
||||
};
|
||||
|
||||
/* Flag for an ambiguous cmd_list result. */
|
||||
#define CMD_LIST_AMBIGUOUS ((struct cmd_list_element *) -1)
|
||||
|
||||
/* API to the manipulation of command lists. */
|
||||
|
||||
extern struct cmd_list_element *add_cmd (char *, enum command_class,
|
||||
|
||||
Reference in New Issue
Block a user