GDB (API)
Defines | Enumerations | Functions | Variables
/home/stan/gdb/src/gdb/mi/mi-cmds.c File Reference
#include "defs.h"
#include "top.h"
#include "mi-cmds.h"
#include "gdb_string.h"
#include "mi-main.h"

Go to the source code of this file.

Defines

#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)
struct mi_cmdmi_lookup (const char *command)

Variables

struct mi_cmd_stats stats

Define Documentation

#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)
#define DEF_MI_CMD_MI_1 (   NAME,
  MI_FUNC,
  CALLED 
)    { NAME, {NULL, 0}, MI_FUNC, CALLED }

Enumeration Type Documentation

anonymous enum
Enumerator:
MI_TABLE_SIZE 

Definition at line 186 of file mi-cmds.c.


Function Documentation

void _initialize_mi_cmds ( void  )
struct mi_cmd* mi_lookup ( const char *  command) [read]

Definition at line 193 of file mi-cmds.c.


Variable Documentation

struct mi_cmd_stats stats

Definition at line 206 of file mi-cmds.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines