GDB (xrefs)
|
Go to the source code of this file.
Classes | |
struct | mi_cmd_stats |
Macros | |
#define | DEF_MI_CMD_CLI_1(NAME, CLI_NAME, ARGS_P, CALLED) { NAME, { CLI_NAME, ARGS_P}, NULL, CALLED } |
#define | DEF_MI_CMD_CLI(NAME, CLI_NAME, ARGS_P) DEF_MI_CMD_CLI_1(NAME, CLI_NAME, ARGS_P, NULL) |
#define | DEF_MI_CMD_MI_1(NAME, MI_FUNC, CALLED) { NAME, {NULL, 0}, MI_FUNC, CALLED } |
#define | DEF_MI_CMD_MI(NAME, MI_FUNC) DEF_MI_CMD_MI_1(NAME, MI_FUNC, NULL) |
Enumerations | |
enum | { MI_TABLE_SIZE = 227 } |
Functions | |
void | _initialize_mi_cmds (void) |
static struct mi_cmd ** | lookup_table (const char *command) |
static void | build_table (struct mi_cmd *commands) |
struct mi_cmd * | mi_lookup (const char *command) |
Variables | |
static struct mi_cmd | mi_cmds [] |
static struct mi_cmd ** | mi_table |
struct mi_cmd_stats | stats |
#define DEF_MI_CMD_CLI | ( | NAME, | |
CLI_NAME, | |||
ARGS_P | |||
) | DEF_MI_CMD_CLI_1(NAME, CLI_NAME, ARGS_P, NULL) |
#define DEF_MI_CMD_CLI_1 | ( | NAME, | |
CLI_NAME, | |||
ARGS_P, | |||
CALLED | |||
) | { NAME, { CLI_NAME, ARGS_P}, NULL, CALLED } |
#define DEF_MI_CMD_MI | ( | NAME, | |
MI_FUNC | |||
) | DEF_MI_CMD_MI_1(NAME, MI_FUNC, NULL) |
void _initialize_mi_cmds | ( | void | ) |
Definition at line 277 of file mi-cmds.c.
References build_table(), and stats.
|
static |
Definition at line 244 of file mi-cmds.c.
References _, fprintf_filtered(), fprintf_unfiltered(), gdb_stdlog, internal_error(), lookup_table(), MI_TABLE_SIZE, mi_cmd::name, mi_cmd_stats::rehash, and stats.
Referenced by _initialize_mi_cmds().
Definition at line 212 of file mi-cmds.c.
References mi_cmd_stats::hit, MI_TABLE_SIZE, mi_cmd_stats::miss, mi_cmd_stats::rehash, and stats.
Referenced by build_table(), and mi_lookup().
Definition at line 194 of file mi-cmds.c.
References lookup_table().
Referenced by mi_cmd_info_gdb_mi_command(), and mi_parse().
struct mi_cmd_stats stats |
Definition at line 207 of file mi-cmds.c.
Referenced by _initialize_mi_cmds(), build_table(), and lookup_table().