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 
)

◆ execute_command_to_string() [1/2]

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

Definition at line 793 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 
)

◆ execute_command_to_ui_file()

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

Definition at line 774 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 
)

◆ execute_fn_to_ui_file()

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

◆ print_command_line()

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

◆ print_command_lines()

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

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.