GDB (xrefs)
|
#include "cli-script.h"
Public Member Functions | |
command_line (command_control_type type_, char *line_=nullptr) | |
DISABLE_COPY_AND_ASSIGN (command_line) | |
Public Attributes | ||
struct command_line * | next = nullptr | |
char * | line | |
enum command_control_type | control_type | |
union { | ||
struct { | ||
enum compile_i_scope_types scope | ||
void * scope_data | ||
} compile | ||
} | control_u | |
counted_command_line | body_list_0 | |
counted_command_line | body_list_1 | |
Private Member Functions | |
~command_line () | |
Friends | |
void | free_command_lines (struct command_line **) |
Structure for saved commands lines (for breakpoints, defined commands, etc).
Definition at line 75 of file cli-script.h.
|
inlineexplicit |
Definition at line 77 of file cli-script.h.
References control_u.
|
inlineprivate |
Definition at line 109 of file cli-script.h.
command_line::DISABLE_COPY_AND_ASSIGN | ( | command_line | ) |
|
friend |
Definition at line 1293 of file cli-script.c.
counted_command_line command_line::body_list_0 |
For composite commands, the nested lists of commands. For example, for "if" command this will contain the then branch and the else branch, if that is available.
Definition at line 102 of file cli-script.h.
Referenced by check_no_tracepoint_commands(), commands_command_1(), compile_to_object(), encode_actions_1(), execute_control_command_1(), print_command_lines(), recurse_read_control_structure(), remote_target::remote_download_command_source(), trace_dump_actions(), and validate_commands_for_breakpoint().
counted_command_line command_line::body_list_1 |
Definition at line 103 of file cli-script.h.
Referenced by check_no_tracepoint_commands(), execute_control_command_1(), print_command_lines(), recurse_read_control_structure(), trace_dump_actions(), and validate_commands_for_breakpoint().
struct { ... } command_line::compile |
Referenced by execute_control_command_1().
enum command_control_type command_line::control_type |
Definition at line 88 of file cli-script.h.
Referenced by check_no_tracepoint_commands(), eval_ext_lang_from_control_command(), execute_control_command_1(), print_command_lines(), recurse_read_control_structure(), remote_target::remote_download_command_source(), and validate_commands_for_breakpoint().
union { ... } command_line::control_u |
Referenced by command_line(), and execute_control_command_1().
char* command_line::line |
Definition at line 87 of file cli-script.h.
Referenced by gdb.dap.scopes._ScopeReference::__init__(), check_no_tracepoint_commands(), command_line_is_silent(), commands_command_1(), compile_to_object(), do_document_command(), encode_actions_1(), execute_control_command_1(), insert_user_defined_cmd_args(), print_command_lines(), remote_target::remote_download_command_source(), gdb.dap.scopes._ScopeReference::to_object(), trace_dump_actions(), validate_commands_for_breakpoint(), and ~command_line().
struct command_line* command_line::next = nullptr |
Definition at line 86 of file cli-script.h.
Referenced by bpstat_do_actions_1(), check_no_tracepoint_commands(), compile_to_object(), do_document_command(), encode_actions_1(), execute_control_command_1(), execute_control_commands(), print_command_lines(), read_command_lines_1(), recurse_read_control_structure(), remote_target::remote_download_command_source(), trace_dump_actions(), and validate_commands_for_breakpoint().
enum compile_i_scope_types command_line::scope |
Definition at line 93 of file cli-script.h.
Referenced by eval_compile_command(), and execute_control_command_1().
void* command_line::scope_data |
Definition at line 94 of file cli-script.h.
Referenced by eval_compile_command(), and execute_control_command_1().