17#ifndef CLI_CLI_SCRIPT_H
18#define CLI_CLI_SCRIPT_H
20#include "gdbsupport/function-view.h"
124 (
const char *,
int,
int, gdb::function_view<
void (
const char *)>);
void show_user_1(struct cmd_list_element *c, const char *prefix, const char *name, struct ui_file *stream)
void execute_control_commands(struct command_line *cmdlines, int from_tty)
std::unique_ptr< command_line, command_lines_deleter > command_line_up
void print_command_lines(struct ui_out *, struct command_line *, unsigned int)
counted_command_line get_command_line(enum command_control_type, const char *)
std::string insert_user_defined_cmd_args(const char *line)
void script_from_file(FILE *stream, const char *file)
counted_command_line read_command_lines_1(read_next_line_ftype, int, gdb::function_view< void(const char *)>)
void free_command_lines(struct command_line **)
gdb::function_view< const char *(std::string &)> read_next_line_ftype
counted_command_line read_command_lines(const char *, int, int, gdb::function_view< void(const char *)>)
enum command_control_type execute_control_command(struct command_line *cmd, int from_tty=0)
void void reset_command_nest_depth(void)
void print_command_trace(const char *cmd,...) ATTRIBUTE_PRINTF(1
enum command_control_type execute_control_command_untraced(struct command_line *cmd)
std::shared_ptr< command_line > counted_command_line
std::string execute_control_commands_to_string(struct command_line *commands, int from_tty)
void execute_user_command(struct cmd_list_element *c, const char *args)
static void ATTRIBUTE_PRINTF(1, 0)
#define prefix(a, b, R, do)
counted_command_line body_list_0
struct command_line::@29::@30 compile
friend void free_command_lines(struct command_line **)
counted_command_line body_list_1
enum compile_i_scope_types scope
enum command_control_type control_type
union command_line::@29 control_u
command_line(command_control_type type_, char *line_=nullptr)
DISABLE_COPY_AND_ASSIGN(command_line)
void operator()(command_line *cmd_lines) const