GDB (xrefs)
Public Attributes | List of all members
cmd_list_element Struct Reference

#include "cli-decode.h"

Public Attributes

struct cmd_list_elementnext
 
const char * name
 
enum command_class theclass
 
unsigned int cmd_deprecated: 1
 
unsigned int deprecated_warn_user: 1
 
unsigned int malloced_replacement: 1
 
unsigned int doc_allocated: 1
 
unsigned int hook_in: 1
 
unsigned int allow_unknown: 1
 
unsigned int abbrev_flag: 1
 
__extension__ enum cmd_types type: 2
 
__extension__ enum var_types var_type: 4
 
void(* func )(struct cmd_list_element *c, const char *args, int from_tty)
 
union {
   cmd_const_cfunc_ftype *   const_cfunc
 
   cmd_const_sfunc_ftype *   sfunc
 
function
 
void * context
 
const char * doc
 
show_value_ftypeshow_value_func
 
const char * replacement
 
void(* pre_show_hook )(struct cmd_list_element *c)
 
struct cmd_list_elementhook_pre
 
struct cmd_list_elementhook_post
 
struct cmd_list_element ** prefixlist
 
const char * prefixname
 
struct cmd_list_elementprefix
 
completer_ftypecompleter
 
completer_handle_brkchars_ftypecompleter_handle_brkchars
 
void(* destroyer )(struct cmd_list_element *self, void *context)
 
void * var
 
const char *const * enums
 
struct command_lineuser_commands
 
struct cmd_list_elementhookee_pre
 
struct cmd_list_elementhookee_post
 
struct cmd_list_elementcmd_pointer
 
struct cmd_list_elementaliases
 
struct cmd_list_elementalias_chain
 
int * suppress_notification
 

Detailed Description

Definition at line 46 of file cli-decode.h.

Member Data Documentation

◆ abbrev_flag

unsigned int cmd_list_element::abbrev_flag

◆ alias_chain

struct cmd_list_element* cmd_list_element::alias_chain

Definition at line 206 of file cli-decode.h.

Referenced by add_alias_cmd(), delete_cmd(), and do_add_cmd().

◆ aliases

struct cmd_list_element* cmd_list_element::aliases

◆ allow_unknown

unsigned int cmd_list_element::allow_unknown

◆ cmd_deprecated

unsigned int cmd_list_element::cmd_deprecated

◆ cmd_pointer

struct cmd_list_element* cmd_list_element::cmd_pointer

◆ completer

completer_ftype* cmd_list_element::completer

◆ completer_handle_brkchars

completer_handle_brkchars_ftype* cmd_list_element::completer_handle_brkchars

◆ const_cfunc

cmd_const_cfunc_ftype* cmd_list_element::const_cfunc

Definition at line 116 of file cli-decode.h.

Referenced by add_cmd(), cmd_cfunc_eq(), do_const_cfunc(), and set_cmd_cfunc().

◆ context

void* cmd_list_element::context

Definition at line 124 of file cli-decode.h.

Referenced by delete_cmd(), get_cmd_context(), and set_cmd_context().

◆ deprecated_warn_user

unsigned int cmd_list_element::deprecated_warn_user

◆ destroyer

void(* cmd_list_element::destroyer) (struct cmd_list_element *self, void *context)

◆ doc

const char* cmd_list_element::doc

◆ doc_allocated

unsigned int cmd_list_element::doc_allocated

Definition at line 81 of file cli-decode.h.

Referenced by add_alias_cmd(), add_setshow_cmd_full(), delete_cmd(), and do_add_cmd().

◆ enums

const char* const* cmd_list_element::enums

◆ func

void(* cmd_list_element::func) (struct cmd_list_element *c, const char *args, int from_tty)

◆ function

union { ... } cmd_list_element::function

◆ hook_in

unsigned int cmd_list_element::hook_in

◆ hook_post

struct cmd_list_element* cmd_list_element::hook_post

Definition at line 147 of file cli-decode.h.

Referenced by define_command(), delete_cmd(), do_add_cmd(), execute_cmd_post_hook(), and help_cmd().

◆ hook_pre

struct cmd_list_element* cmd_list_element::hook_pre

Definition at line 144 of file cli-decode.h.

Referenced by define_command(), delete_cmd(), do_add_cmd(), execute_cmd_pre_hook(), and help_cmd().

◆ hookee_post

struct cmd_list_element* cmd_list_element::hookee_post

Definition at line 196 of file cli-decode.h.

Referenced by define_command(), delete_cmd(), and do_add_cmd().

◆ hookee_pre

struct cmd_list_element* cmd_list_element::hookee_pre

Definition at line 192 of file cli-decode.h.

Referenced by define_command(), delete_cmd(), and do_add_cmd().

◆ malloced_replacement

unsigned int cmd_list_element::malloced_replacement

Definition at line 77 of file cli-decode.h.

Referenced by do_add_cmd(), and maintenance_do_deprecate().

◆ name

const char* cmd_list_element::name

◆ next

struct cmd_list_element* cmd_list_element::next

◆ pre_show_hook

void(* cmd_list_element::pre_show_hook) (struct cmd_list_element *c)

Definition at line 141 of file cli-decode.h.

Referenced by do_add_cmd(), and do_show_command().

◆ prefix

struct cmd_list_element* cmd_list_element::prefix

◆ prefixlist

struct cmd_list_element** cmd_list_element::prefixlist

◆ prefixname

const char* cmd_list_element::prefixname

◆ replacement

const char* cmd_list_element::replacement

◆ sfunc

cmd_const_sfunc_ftype* cmd_list_element::sfunc

Definition at line 119 of file cli-decode.h.

Referenced by add_catch_command(), do_sfunc(), and set_cmd_sfunc().

◆ show_value_func

show_value_ftype* cmd_list_element::show_value_func

Definition at line 134 of file cli-decode.h.

Referenced by add_setshow_cmd_full(), and do_show_command().

◆ suppress_notification

int* cmd_list_element::suppress_notification

Definition at line 212 of file cli-decode.h.

Referenced by add_com_suppress_notification(), cmd_func(), and do_add_cmd().

◆ theclass

enum command_class cmd_list_element::theclass

◆ type

__extension__ enum cmd_types cmd_list_element::type

◆ user_commands

struct command_line* cmd_list_element::user_commands

◆ var

void* cmd_list_element::var

◆ var_type

__extension__ enum var_types cmd_list_element::var_type

The documentation for this struct was generated from the following file: