GDB (API)
Classes | Defines | Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/interps.h File Reference
#include "exceptions.h"

Go to the source code of this file.

Classes

struct  interp_procs

Defines

#define INTERP_CONSOLE   "console"
#define INTERP_MI1   "mi1"
#define INTERP_MI2   "mi2"
#define INTERP_MI3   "mi3"
#define INTERP_MI   "mi"
#define INTERP_TUI   "tui"
#define INTERP_INSIGHT   "insight"

Typedefs

typedef void *( interp_init_ftype )(struct interp *self, int top_level)
typedef intinterp_resume_ftype )(void *data)
typedef intinterp_suspend_ftype )(void *data)
typedef intinterp_prompt_p_ftype )(void *data)
typedef void( interp_command_loop_ftype )(void *data)
typedef struct ui_out *( interp_ui_out_ftype )(struct interp *self)
typedef intinterp_set_logging_ftype )(struct interp *self, int start_log, struct ui_file *out, struct ui_file *logfile)

Functions

int interp_resume (struct interp *interp)
int interp_suspend (struct interp *interp)
int interp_prompt_p (struct interp *interp)
int interp_exec_p (struct interp *interp)
struct gdb_exception interp_exec (struct interp *interp, const char *command)
int interp_quiet_p (struct interp *interp)
struct gdb_exception() interp_exec_ftype (void *data, const char *command)
struct interp * interp_new (const char *name, const struct interp_procs *procs)
void interp_add (struct interp *interp)
int interp_set (struct interp *interp, int top_level)
struct interp * interp_lookup (const char *name)
struct ui_out * interp_ui_out (struct interp *interp)
void * interp_data (struct interp *interp)
const char * interp_name (struct interp *interp)
struct interp * interp_set_temp (const char *name)
int current_interp_named_p (const char *name)
int current_interp_display_prompt_p (void)
void current_interp_command_loop (void)
int current_interp_set_logging (int start_log, struct ui_file *out, struct ui_file *logfile)
void * top_level_interpreter_data (void)
struct interp * top_level_interpreter (void)
void clear_interpreter_hooks (void)

Variables

int interpreter_async

Define Documentation

#define INTERP_CONSOLE   "console"

Definition at line 112 of file interps.h.

#define INTERP_INSIGHT   "insight"

Definition at line 118 of file interps.h.

#define INTERP_MI   "mi"

Definition at line 116 of file interps.h.

#define INTERP_MI1   "mi1"

Definition at line 113 of file interps.h.

#define INTERP_MI2   "mi2"

Definition at line 114 of file interps.h.

#define INTERP_MI3   "mi3"

Definition at line 115 of file interps.h.

#define INTERP_TUI   "tui"

Definition at line 117 of file interps.h.


Typedef Documentation

typedef void( interp_command_loop_ftype)(void *data)

Definition at line 44 of file interps.h.

typedef void*( interp_init_ftype)(struct interp *self, int top_level)

Definition at line 38 of file interps.h.

typedef int( interp_prompt_p_ftype)(void *data)

Definition at line 41 of file interps.h.

typedef int( interp_resume_ftype)(void *data)

Definition at line 39 of file interps.h.

typedef int( interp_set_logging_ftype)(struct interp *self, int start_log, struct ui_file *out, struct ui_file *logfile)

Definition at line 47 of file interps.h.

typedef int( interp_suspend_ftype)(void *data)

Definition at line 40 of file interps.h.

typedef struct ui_out*( interp_ui_out_ftype)(struct interp *self)

Definition at line 45 of file interps.h.


Function Documentation

void clear_interpreter_hooks ( void  )

Definition at line 369 of file interps.c.

void current_interp_command_loop ( void  )

Definition at line 323 of file interps.c.

Definition at line 311 of file interps.c.

int current_interp_named_p ( const char *  name)

Definition at line 299 of file interps.c.

int current_interp_set_logging ( int  start_log,
struct ui_file *  out,
struct ui_file *  logfile 
)

Definition at line 257 of file interps.c.

void interp_add ( struct interp *  interp)

Definition at line 113 of file interps.c.

void* interp_data ( struct interp *  interp)

Definition at line 284 of file interps.c.

struct gdb_exception interp_exec ( struct interp *  interp,
const char *  command 
) [read]

Definition at line 357 of file interps.c.

struct gdb_exception() interp_exec_ftype ( void *  data,
const char *  command 
) [read]
int interp_exec_p ( struct interp *  interp)

Definition at line 351 of file interps.c.

struct interp* interp_lookup ( const char *  name) [read]

Definition at line 229 of file interps.c.

const char* interp_name ( struct interp *  interp)

Definition at line 292 of file interps.c.

struct interp* interp_new ( const char *  name,
const struct interp_procs procs 
) [read]

Definition at line 92 of file interps.c.

int interp_prompt_p ( struct interp *  interp)
int interp_quiet_p ( struct interp *  interp)

Definition at line 331 of file interps.c.

int interp_resume ( struct interp *  interp)
int interp_set ( struct interp *  interp,
int  top_level 
)

Definition at line 139 of file interps.c.

struct interp* interp_set_temp ( const char *  name) [read]

Definition at line 271 of file interps.c.

int interp_suspend ( struct interp *  interp)
struct ui_out* interp_ui_out ( struct interp *  interp) [read]

Definition at line 248 of file interps.c.

struct interp* top_level_interpreter ( void  ) [read]

Definition at line 494 of file interps.c.

void* top_level_interpreter_data ( void  )

Definition at line 500 of file interps.c.


Variable Documentation

Definition at line 49 of file interps.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines