GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
/tmp/gdb-13.1/gdb/interps.h File Reference

Go to the source code of this file.

Classes

class  interp
 
class  scoped_restore_interp
 

Macros

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

Typedefs

typedef struct interp *(* interp_factory_func) (const char *name)
 

Functions

void interp_factory_register (const char *name, interp_factory_func func)
 
struct gdb_exception interp_exec (struct interp *interp, const char *command)
 
struct interpinterp_lookup (struct ui *ui, const char *name)
 
void set_top_level_interpreter (const char *name)
 
int current_interp_named_p (const char *name)
 
void current_interp_set_logging (ui_file_up logfile, bool logging_redirect, bool debug_redirect)
 
struct interptop_level_interpreter (void)
 
struct interpcurrent_interpreter (void)
 
struct interpcommand_interp (void)
 
void clear_interpreter_hooks (void)
 
int interp_supports_command_editing (struct interp *interp)
 
void interp_pre_command_loop (struct interp *interp)
 
void interpreter_completer (struct cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *word)
 

Macro Definition Documentation

◆ INTERP_CONSOLE

#define INTERP_CONSOLE   "console"

Definition at line 177 of file interps.h.

◆ INTERP_INSIGHT

#define INTERP_INSIGHT   "insight"

Definition at line 184 of file interps.h.

◆ INTERP_MI

#define INTERP_MI   "mi"

Definition at line 182 of file interps.h.

◆ INTERP_MI1

#define INTERP_MI1   "mi1"

Definition at line 178 of file interps.h.

◆ INTERP_MI2

#define INTERP_MI2   "mi2"

Definition at line 179 of file interps.h.

◆ INTERP_MI3

#define INTERP_MI3   "mi3"

Definition at line 180 of file interps.h.

◆ INTERP_MI4

#define INTERP_MI4   "mi4"

Definition at line 181 of file interps.h.

◆ INTERP_TUI

#define INTERP_TUI   "tui"

Definition at line 183 of file interps.h.

Typedef Documentation

◆ interp_factory_func

typedef struct interp *(* interp_factory_func) (const char *name)

Definition at line 1 of file interps.h.

Function Documentation

◆ clear_interpreter_hooks()

void clear_interpreter_hooks ( void  )

◆ command_interp()

struct interp * command_interp ( void  )

◆ current_interp_named_p()

int current_interp_named_p ( const char *  name)

◆ current_interp_set_logging()

void current_interp_set_logging ( ui_file_up  logfile,
bool  logging_redirect,
bool  debug_redirect 
)

◆ current_interpreter()

struct interp * current_interpreter ( void  )

◆ interp_exec()

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

◆ interp_factory_register()

void interp_factory_register ( const char *  name,
interp_factory_func  func 
)

Definition at line 112 of file interps.c.

References f(), func, interpreter_factories, and name.

◆ interp_lookup()

struct interp * interp_lookup ( struct ui ui,
const char *  name 
)

◆ interp_pre_command_loop()

void interp_pre_command_loop ( struct interp interp)

Definition at line 317 of file interps.c.

References interp::pre_command_loop().

Referenced by captured_command_loop(), and new_ui_command().

◆ interp_supports_command_editing()

int interp_supports_command_editing ( struct interp interp)

Definition at line 327 of file interps.c.

References interp::supports_command_editing().

Referenced by change_line_handler().

◆ interpreter_completer()

void interpreter_completer ( struct cmd_list_element ignore,
completion_tracker tracker,
const char *  text,
const char *  word 
)

◆ set_top_level_interpreter()

void set_top_level_interpreter ( const char *  name)

Definition at line 246 of file interps.c.

References current_ui, interp_lookup(), interp_set(), and name.

Referenced by captured_main_1(), and new_ui_command().

◆ top_level_interpreter()

struct interp * top_level_interpreter ( void  )