GDB (xrefs)
Loading...
Searching...
No Matches
Functions | Variables
gdbcmd.h File Reference
#include "command.h"
#include "ui-out.h"
#include "cli/cli-script.h"
#include "cli/cli-cmds.h"

Go to the source code of this file.

Functions

void execute_command (const char *, int)
 
void execute_fn_to_ui_file (struct ui_file *file, std::function< void(void)> fn)
 
void execute_fn_to_string (std::string &res, std::function< void(void)> fn, bool term_out)
 
void execute_command_to_ui_file (struct ui_file *file, const char *p, int from_tty)
 
void execute_command_to_string (std::string &res, const char *p, int from_tty, bool term_out)
 
void execute_command_to_string (const char *p, int from_tty, bool term_out)
 
void print_command_line (struct command_line *, unsigned int, struct ui_file *)
 
void print_command_lines (struct ui_out *, struct command_line *, unsigned int)
 

Variables

struct cmd_list_elementstyle_set_list
 
struct cmd_list_elementstyle_show_list
 

Function Documentation

◆ execute_command()

void execute_command ( const char * p,
int from_tty )
extern

Definition at line 459 of file top.c.

References all_commands, cmd_list_element::allow_unknown, bpstat_clear_actions(), check_frame_language_change(), class_user, cmd_func(), cmdlist, current_ui, cmd_list_element::default_args, deprecated_call_command_hook, deprecated_cmd_warning(), cmd_list_element::deprecated_warn_user, do_set_command(), do_show_command(), execute_cmd_post_hook(), execute_cmd_pre_hook(), execute_user_command(), gdb_printf(), gdb_stdout, has_stack_frames(), help_list(), inferior_thread(), cmd_list_element::is_command_class_help(), is_complete_command(), cmd_list_element::is_prefix(), lookup_cmd(), maybe_wait_sync_command_done(), nullptr, cmd_list_element::prefixname(), prepare_execute_command(), print_command_trace(), PROMPT_BLOCKED, ui::prompt_state, repeat_arguments, saved_command_line, set_cmd, show_cmd, cmd_list_element::subcommands, target_log_command(), cmd_list_element::theclass, THREAD_RUNNING, cmd_list_element::type, and cmd_list_element::user_commands.

Referenced by cmd_record_btrace_bts_start(), cmd_record_btrace_pt_start(), cmd_record_btrace_start(), cmd_record_full_start(), cmd_record_start(), command_handler(), command_line_handler(), env_execute_cli_command(), eval_command(), cli_interp::exec(), exec_reverse_once(), execute_cmdargs(), execute_control_command_1(), faas_command(), mi_execute_async_cli_command(), mi_execute_cli_command(), nto_init_solib_absolute_prefix(), taas_command(), tfaas_command(), tui_update_command(), and with_command_1().

◆ execute_command_to_string() [1/2]

void execute_command_to_string ( const char * p,
int from_tty,
bool term_out )
extern

Definition at line 680 of file top.c.

References dummy, execute_command(), and execute_fn_to_string().

◆ execute_command_to_string() [2/2]

void execute_command_to_string ( std::string & res,
const char * p,
int from_tty,
bool term_out )
extern

◆ execute_command_to_ui_file()

void execute_command_to_ui_file ( struct ui_file * file,
const char * p,
int from_tty )
extern

Definition at line 661 of file top.c.

References execute_command(), and execute_fn_to_ui_file().

Referenced by pipe_command().

◆ execute_fn_to_string()

void execute_fn_to_string ( std::string & res,
std::function< void(void)> fn,
bool term_out )
extern

◆ execute_fn_to_ui_file()

void execute_fn_to_ui_file ( struct ui_file * file,
std::function< void(void)> fn )
extern

◆ print_command_line()

void print_command_line ( struct command_line * ,
unsigned int ,
struct ui_file *  )
extern

◆ print_command_lines()

void print_command_lines ( struct ui_out * uiout,
struct command_line * cmd,
unsigned int depth )
extern

Variable Documentation

◆ style_set_list

struct cmd_list_element* style_set_list
extern

Definition at line 299 of file cli-style.c.

◆ style_show_list

struct cmd_list_element* style_show_list
extern

Definition at line 300 of file cli-style.c.