GDB (xrefs)

Public Attributes | List of all members
command_line Struct Reference

`#include "cli-script.h"`

## Public Attributes
struct command_line * | next
char * | line
enum command_control_type | control_type
union {
struct {
enum compile_i_scope_types scope
void * scope_data
} compile
} | control_u
int | body_count
struct command_line ** | body_list

## Detailed Description

Structure for saved commands lines (for breakpoints, defined commands, etc).

Definition at line 51 of file cli-script.h.

## Member Data Documentation

## ◆ body_count

int command_line::body_count

The number of elements in body_list.

Definition at line 67 of file cli-script.h.

Referenced by build_command_line(), check_no_tracepoint_commands(), copy_command_lines(), execute_control_command_1(), free_command_lines(), gdbpy_eval_from_control_command(), print_command_lines(), realloc_body_list(), recurse_read_control_structure(), trace_dump_actions(), update_dprintf_command_list(), and validate_commands_for_breakpoint().

## ◆ body_list

struct command_line** command_line::body_list

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 71 of file cli-script.h.

Referenced by build_command_line(), check_no_tracepoint_commands(), commands_command_1(), compile_to_object(), copy_command_lines(), encode_actions_1(), execute_control_command_1(), free_command_lines(), gdbpy_eval_from_control_command(), print_command_lines(), realloc_body_list(), recurse_read_control_structure(), remote_download_command_source(), trace_dump_actions(), update_dprintf_command_list(), and validate_commands_for_breakpoint().

## ◆ compile

struct { ... } command_line::compile

Referenced by execute_control_command_1().

## ◆ control_type

enum command_control_type command_line::control_type

Definition at line 55 of file cli-script.h.

Referenced by build_command_line(), check_no_tracepoint_commands(), copy_command_lines(), eval_ext_lang_from_control_command(), execute_control_command_1(), print_command_lines(), read_command_lines_1(), recurse_read_control_structure(), remote_download_command_source(), update_dprintf_command_list(), and validate_commands_for_breakpoint().

## ◆ control_u

union { ... } command_line::control_u

Referenced by execute_control_command_1().

## ◆ line

char* command_line::line

Definition at line 54 of file cli-script.h.

Referenced by all_tracepoint_actions_and_cleanup(), build_command_line(), check_no_tracepoint_commands(), command_line_is_silent(), compile_to_object(), compute_python_string(), copy_command_lines(), document_command(), encode_actions_1(), execute_control_command_1(), free_command_lines(), print_command_lines(), remote_download_command_source(), trace_dump_actions(), update_dprintf_command_list(), and validate_commands_for_breakpoint().

## ◆ next

struct command_line* command_line::next

Definition at line 53 of file cli-script.h.

Referenced by gdb.FrameIterator.FrameIterator::__next__(), all_tracepoint_actions_and_cleanup(), bpstat_do_actions_1(), build_command_line(), check_no_tracepoint_commands(), compile_to_object(), compute_python_string(), copy_command_lines(), document_command(), encode_actions_1(), execute_control_command_1(), execute_user_command(), free_command_lines(), print_command_lines(), read_command_lines_1(), recurse_read_control_structure(), remote_download_command_source(), trace_dump_actions(), update_dprintf_command_list(), and validate_commands_for_breakpoint().

## ◆ scope

enum compile_i_scope_types command_line::scope

Definition at line 60 of file cli-script.h.

## ◆ scope_data

void* command_line::scope_data

Definition at line 61 of file cli-script.h.

The documentation for this struct was generated from the following file:

- /tmp/gdb-8.1/gdb/cli/cli-script.h