diff options
Diffstat (limited to 'gdb/gdbcmd.h')
-rw-r--r-- | gdb/gdbcmd.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h index 8a1f6f2..c212a0c 100644 --- a/gdb/gdbcmd.h +++ b/gdb/gdbcmd.h @@ -29,37 +29,6 @@ #include "cli/cli-script.h" #include "cli/cli-cmds.h" -extern void execute_command (const char *, int); - -/* Run FN. Sends its output to FILE, do not display it to the screen. - The global BATCH_FLAG will be temporarily set to true. */ - -extern void execute_fn_to_ui_file (struct ui_file *file, std::function<void(void)> fn); - -/* Run FN. Capture its output into the returned string, do not display it - to the screen. The global BATCH_FLAG will temporarily be set to true. - When TERM_OUT is true the output is collected with terminal behaviour - (e.g. with styling). When TERM_OUT is false raw output will be collected - (e.g. no styling). */ - -extern void execute_fn_to_string (std::string &res, - std::function<void(void)> fn, bool term_out); - -/* As execute_fn_to_ui_file, but run execute_command for P and FROM_TTY. */ - -extern void execute_command_to_ui_file (struct ui_file *file, - const char *p, int from_tty); - -/* As execute_fn_to_string, but run execute_command for P and FROM_TTY. */ - -extern void execute_command_to_string (std::string &res, const char *p, - int from_tty, bool term_out); - -/* As execute_command_to_string, but ignore resulting string. */ - -extern void execute_command_to_string (const char *p, - int from_tty, bool term_out); - extern void print_command_line (struct command_line *, unsigned int, struct ui_file *); extern void print_command_lines (struct ui_out *, |