Defines |
#define | CMD_LIST_AMBIGUOUS ((struct cmd_list_element *) -1) |
Typedefs |
typedef enum cmd_types | cmd_types |
typedef enum var_types | var_types |
typedef void | cmd_cfunc_ftype (char *args, int from_tty) |
typedef void | cmd_sfunc_ftype (char *args, int from_tty, struct cmd_list_element *c) |
typedef const char const char *void | set_cmd_completer (struct cmd_list_element *, completer_ftype *) |
typedef void( | show_value_ftype )(struct ui_file *file, int from_tty, struct cmd_list_element *cmd, const char *value) |
Enumerations |
enum | command_class {
class_deprecated = -3,
all_classes = -2,
all_commands = -1,
no_class = -1,
class_run = 0,
class_vars,
class_stack,
class_files,
class_support,
class_info,
class_breakpoint,
class_trace,
class_alias,
class_bookmark,
class_obscure,
class_maintenance,
class_pseudo,
class_tui,
class_user,
class_xdb,
no_set_class
} |
enum | cmd_types { not_set_cmd,
set_cmd,
show_cmd
} |
enum | var_types {
var_boolean,
var_auto_boolean,
var_uinteger,
var_integer,
var_string,
var_string_noescape,
var_optional_filename,
var_filename,
var_zinteger,
var_zuinteger,
var_zuinteger_unlimited,
var_enum
} |
Functions |
int | valid_user_defined_cmd_name_p (const char *name) |
struct cmd_list_element * | add_cmd (const char *, enum command_class, void(*fun)(char *, int), char *, struct cmd_list_element **) |
struct cmd_list_element * | add_alias_cmd (const char *, const char *, enum command_class, int, struct cmd_list_element **) |
struct cmd_list_element * | add_prefix_cmd (const char *, enum command_class, void(*fun)(char *, int), char *, struct cmd_list_element **, char *, int, struct cmd_list_element **) |
struct cmd_list_element * | add_abbrev_prefix_cmd (const char *, enum command_class, void(*fun)(char *, int), char *, struct cmd_list_element **, char *, int, struct cmd_list_element **) |
void | set_cmd_cfunc (struct cmd_list_element *cmd, cmd_cfunc_ftype *cfunc) |
void | set_cmd_sfunc (struct cmd_list_element *cmd, cmd_sfunc_ftype *sfunc) |
typedef | VEC (char_ptr)*completer_ftype(struct cmd_list_element * |
int | cmd_cfunc_eq (struct cmd_list_element *cmd, void(*cfunc)(char *args, int from_tty)) |
void | set_cmd_context (struct cmd_list_element *cmd, void *context) |
void * | get_cmd_context (struct cmd_list_element *cmd) |
void | execute_cmd_pre_hook (struct cmd_list_element *cmd) |
void | execute_cmd_post_hook (struct cmd_list_element *cmd) |
enum cmd_types | cmd_type (struct cmd_list_element *cmd) |
struct cmd_list_element * | lookup_cmd (const char **, struct cmd_list_element *, char *, int, int) |
struct cmd_list_element * | lookup_cmd_1 (const char **, struct cmd_list_element *, struct cmd_list_element **, int) |
struct cmd_list_element * | deprecate_cmd (struct cmd_list_element *, char *) |
void | deprecated_cmd_warning (const char *) |
int | lookup_cmd_composition (const char *text, struct cmd_list_element **alias, struct cmd_list_element **prefix_cmd, struct cmd_list_element **cmd) |
struct cmd_list_element * | add_com (const char *, enum command_class, void(*fun)(char *, int), char *) |
struct cmd_list_element * | add_com_alias (const char *, const char *, enum command_class, int) |
struct cmd_list_element * | add_info (const char *, void(*fun)(char *, int), char *) |
struct cmd_list_element * | add_info_alias (const char *, char *, int) |
const char const char *void | help_list (struct cmd_list_element *, char *, enum command_class, struct ui_file *) |
void | add_setshow_enum_cmd (const char *name, enum command_class class, const char *const *enumlist, const char **var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | add_setshow_auto_boolean_cmd (const char *name, enum command_class class, enum auto_boolean *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | add_setshow_boolean_cmd (const char *name, enum command_class class, int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | add_setshow_filename_cmd (const char *name, enum command_class class, char **var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | add_setshow_string_cmd (const char *name, enum command_class class, char **var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
struct cmd_list_element * | add_setshow_string_noescape_cmd (const char *name, enum command_class class, char **var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | add_setshow_optional_filename_cmd (const char *name, enum command_class class, char **var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | add_setshow_integer_cmd (const char *name, enum command_class class, int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | add_setshow_uinteger_cmd (const char *name, enum command_class class, unsigned int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | add_setshow_zinteger_cmd (const char *name, enum command_class class, int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | add_setshow_zuinteger_cmd (const char *name, enum command_class class, unsigned int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | add_setshow_zuinteger_unlimited_cmd (const char *name, enum command_class class, int *var, const char *set_doc, const char *show_doc, const char *help_doc, cmd_sfunc_ftype *set_func, show_value_ftype *show_func, struct cmd_list_element **set_list, struct cmd_list_element **show_list) |
void | cmd_show_list (struct cmd_list_element *, int, char *) |
void | error_no_arg (char *) ATTRIBUTE_NORETURN |
void | dont_repeat (void) |
struct cleanup * | prevent_dont_repeat (void) |
void | not_just_help_class_command (char *, int) |
int | cmd_func_p (struct cmd_list_element *cmd) |
void | cmd_func (struct cmd_list_element *cmd, char *args, int from_tty) |
Variables |
const char const char | int |
show_value_ftype | deprecated_show_value_hack |