30typedef struct interp *(*interp_factory_func) (
const char *
name);
48 virtual void init (
bool top_level)
54 virtual gdb_exception
exec (
const char *command) = 0;
86 gdb::unique_xmalloc_ptr<char>
m_name;
177#define INTERP_CONSOLE "console"
178#define INTERP_MI1 "mi1"
179#define INTERP_MI2 "mi2"
180#define INTERP_MI3 "mi3"
181#define INTERP_MI4 "mi4"
182#define INTERP_MI "mi"
183#define INTERP_TUI "tui"
184#define INTERP_INSIGHT "insight"
gdb::unique_xmalloc_ptr< char > m_name
virtual bool supports_command_editing()
virtual void set_logging(ui_file_up logfile, bool logging_redirect, bool debug_redirect)=0
virtual ui_out * interp_ui_out()=0
virtual void pre_command_loop()
virtual gdb_exception exec(const char *command)=0
const char * name() const
virtual void init(bool top_level)
scoped_restore_interp & operator=(const scoped_restore_interp &)=delete
scoped_restore_interp(const char *name)
scoped_restore_interp(const scoped_restore_interp &)=delete
struct interp * set_interp(const char *name)
static bool debug_redirect
static bool logging_redirect
struct interp * interp_lookup(struct ui *ui, const char *name)
int current_interp_named_p(const char *name)
void interp_pre_command_loop(struct interp *interp)
void clear_interpreter_hooks(void)
struct interp * current_interpreter(void)
struct interp * top_level_interpreter(void)
void set_top_level_interpreter(const char *name)
struct interp * command_interp(void)
void interp_factory_register(const char *name, interp_factory_func func)
int interp_supports_command_editing(struct interp *interp)
void interpreter_completer(struct cmd_list_element *ignore, completion_tracker &tracker, const char *text, const char *word)
void current_interp_set_logging(ui_file_up logfile, bool logging_redirect, bool debug_redirect)
struct interp *(* interp_factory_func)(const char *name)
struct gdb_exception interp_exec(struct interp *interp, const char *command)
void(* func)(remote_target *remote, char *)
std::unique_ptr< ui_file > ui_file_up