GDB (xrefs)
|
#include "gdbsupport/function-view.h"
Go to the source code of this file.
Classes | |
struct | command_lines_deleter |
struct | command_line |
Typedefs | |
typedef std::shared_ptr< command_line > | counted_command_line |
typedef std::unique_ptr< command_line, command_lines_deleter > | command_line_up |
using | read_next_line_ftype = gdb::function_view<const char * (std::string &)> |
Enumerations | |
enum | misc_command_type { ok_command , end_command , else_command , nop_command } |
enum | command_control_type { simple_control , break_control , continue_control , while_control , if_control , commands_control , python_control , compile_control , guile_control , while_stepping_control , define_control , document_control , invalid_control } |
typedef std::unique_ptr<command_line, command_lines_deleter> command_line_up |
Definition at line 70 of file cli-script.h.
typedef std::shared_ptr<command_line> counted_command_line |
Definition at line 67 of file cli-script.h.
using read_next_line_ftype = gdb::function_view<const char * (std::string &)> |
Definition at line 121 of file cli-script.h.
enum command_control_type |
Definition at line 35 of file cli-script.h.
enum misc_command_type |
Control types for commands.
Enumerator | |
---|---|
ok_command | |
end_command | |
else_command | |
nop_command |
Definition at line 27 of file cli-script.h.
|
extern |
Definition at line 698 of file cli-script.c.
References current_ui, current_uiout, execute_control_command_1(), INTERP_CONSOLE, interp_lookup(), and interp::interp_ui_out().
Referenced by bpstat_do_actions_1(), execute_control_command_untraced(), and execute_control_commands().
|
extern |
Definition at line 716 of file cli-script.c.
References execute_control_command(), and suppress_next_print_command_trace.
Referenced by compile_code_command(), compile_print_command(), guile_command(), if_command(), python_interactive_command(), and while_command().
|
extern |
Definition at line 403 of file cli-script.c.
References ui::async, break_control, command_nest_depth, current_ui, execute_control_command(), command_line::next, and simple_control.
Referenced by dprintf_breakpoint::after_condition_true(), execute_control_commands_to_string(), and execute_user_command().
|
extern |
Definition at line 425 of file cli-script.c.
References execute_control_commands(), and execute_fn_to_string().
|
extern |
Definition at line 439 of file cli-script.c.
References current_ui, execute_control_commands(), ui::instream, max_user_call_depth, user_args_stack, and cmd_list_element::user_commands.
Referenced by execute_cmd_post_hook(), execute_cmd_pre_hook(), and execute_command().
|
extern |
Definition at line 107 of file cli-script.c.
Referenced by command_lines_deleter::operator()().
|
extern |
Definition at line 182 of file cli-script.c.
References build_command_line(), invalid_control, read_next_line(), and recurse_read_control_structure().
Referenced by compile_code_command(), compile_print_command(), guile_command(), if_command(), python_interactive_command(), and while_command().
|
extern |
Definition at line 839 of file cli-script.c.
References command_line::line, and user_args_stack.
Referenced by eval_command(), and execute_control_command_1().
|
extern |
Definition at line 202 of file cli-script.c.
|
extern |
|
extern |
Definition at line 1178 of file cli-script.c.
References current_interp_named_p(), current_ui, deprecated_readline_begin_hook, deprecated_readline_end_hook, END_MESSAGE, ui::input_interactive_p(), INTERP_CONSOLE, printf_unfiltered(), read_command_lines_1(), and read_next_line().
Referenced by actions_command(), commands_command_1(), do_define_command(), and do_document_command().
|
extern |
Definition at line 1220 of file cli-script.c.
References control_level, dont_repeat(), end_command, invalid_control, multi_line_command_p(), command_line::next, nop_command, ok_command, process_next_line(), recurse_read_control_structure(), and simple_control.
Referenced by bppy_set_commands(), create_tracepoint_from_upload(), mi_cmd_break_commands(), and read_command_lines().
|
extern |
Definition at line 468 of file cli-script.c.
References command_nest_depth, and suppress_next_print_command_trace.
Referenced by display_gdb_prompt().
|
extern |
Definition at line 1627 of file cli-script.c.
References ui::async, current_ui, read_command_file(), source_file_name, and source_line_number.
Referenced by source_gdb_objfile_script(), source_gdb_script(), and source_script_from_stream().
|
extern |
Definition at line 1660 of file cli-script.c.
References class_user, cli_user_command_p(), current_uiout, fprintf_styled(), gdb_printf(), gdb_puts(), gdb_stdout, cmd_list_element::is_prefix(), name, cmd_list_element::name, cmd_list_element::next, prefix, cmd_list_element::prefixname(), print_command_lines(), show_user_1(), cli_style_option::style(), cmd_list_element::subcommands, cmd_list_element::theclass, title_style, and cmd_list_element::user_commands.
Referenced by show_user(), and show_user_1().