GDB (xrefs)
Classes | Macros | Typedefs | Functions | Variables
/tmp/gdb-7.10/gdb/interps.h File Reference

Go to the source code of this file.

Classes

struct  interp_procs
 

Macros

#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 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)
 
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 interpinterp_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 interpinterp_lookup (const char *name)
 
struct ui_outinterp_ui_out (struct interp *interp)
 
void * interp_data (struct interp *interp)
 
const char * interp_name (struct interp *interp)
 
struct interpinterp_set_temp (const char *name)
 
int current_interp_named_p (const char *name)
 
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 interptop_level_interpreter (void)
 
struct interpcommand_interp (void)
 
void clear_interpreter_hooks (void)
 

Variables

int interpreter_async
 

Macro Definition Documentation

#define INTERP_CONSOLE   "console"
#define INTERP_INSIGHT   "insight"

Definition at line 114 of file interps.h.

Referenced by captured_main().

#define INTERP_MI   "mi"
#define INTERP_MI1   "mi1"
#define INTERP_MI2   "mi2"
#define INTERP_MI3   "mi3"
#define INTERP_TUI   "tui"

Definition at line 113 of file interps.h.

Referenced by _initialize_tui_interp(), captured_main(), and tui_enable().

Typedef Documentation

typedef void( interp_command_loop_ftype) (void *data)

Definition at line 39 of file interps.h.

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

Definition at line 34 of file interps.h.

typedef int( interp_resume_ftype) (void *data)

Definition at line 35 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 42 of file interps.h.

typedef int( interp_suspend_ftype) (void *data)

Definition at line 36 of file interps.h.

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

Definition at line 40 of file interps.h.

Function Documentation

void clear_interpreter_hooks ( void  )
struct interp* command_interp ( void  )

Definition at line 303 of file interps.c.

References command_interpreter, and current_interpreter.

Referenced by find_mi_interpreter(), follow_fork(), and proceed().

void current_interp_command_loop ( void  )

Definition at line 313 of file interps.c.

References interp_procs::command_loop_proc, interp::data, gdb_assert, and interp::procs.

Referenced by captured_command_loop().

int current_interp_named_p ( const char *  name)
int current_interp_set_logging ( int  start_log,
struct ui_file out,
struct ui_file logfile 
)
void interp_add ( struct interp interp)
void* interp_data ( struct interp interp)

Definition at line 265 of file interps.c.

References interp::data.

Referenced by mi_interp_data(), mi_set_logging(), and mi_ui_out().

struct gdb_exception interp_exec ( struct interp interp,
const char *  command 
)

Definition at line 342 of file interps.c.

References command_interpreter, and gdb_assert.

Referenced by interpreter_exec_cmd(), and mi_cmd_interpreter_exec().

struct gdb_exception() interp_exec_ftype ( void *  data,
const char *  command 
)
struct interp* interp_lookup ( const char *  name)
const char* interp_name ( struct interp interp)
struct interp* interp_new ( const char *  name,
const struct interp_procs procs 
)
int interp_quiet_p ( struct interp interp)
int interp_resume ( struct interp interp)
int interp_set ( struct interp interp,
int  top_level 
)
struct interp* interp_set_temp ( const char *  name)

Definition at line 252 of file interps.c.

References current_interpreter, and interp_lookup().

Referenced by read_command_lines(), and restore_interp().

int interp_suspend ( struct interp interp)
struct ui_out* interp_ui_out ( struct interp interp)
struct interp* top_level_interpreter ( void  )
void* top_level_interpreter_data ( void  )

Variable Documentation

int interpreter_async