diff options
author | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2019-04-26 20:52:16 +0200 |
---|---|---|
committer | Philippe Waroquiers <philippe.waroquiers@skynet.be> | 2019-05-31 17:11:38 +0200 |
commit | b8fd091888383703f5d708c597c496d7b9e47a21 (patch) | |
tree | 24b079241f130a85492987818551fb815961a2c8 /gdb/gdbcmd.h | |
parent | 68bb5386b84af4031175bf186269eb6b54b8611d (diff) | |
download | gdb-b8fd091888383703f5d708c597c496d7b9e47a21.zip gdb-b8fd091888383703f5d708c597c496d7b9e47a21.tar.gz gdb-b8fd091888383703f5d708c597c496d7b9e47a21.tar.bz2 |
Add function execute_command_to_ui_file
2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
* gdbcmd.h (execute_command_to_ui_file): New declaration.
top.c (execute_command_to_ui_file): New function, mostly a copy
of execute_command_to_string.
(execute_command_to_string): Implement by calling
execute_command_to_ui_file.
Diffstat (limited to 'gdb/gdbcmd.h')
-rw-r--r-- | gdb/gdbcmd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h index 5d0e697..1b47719 100644 --- a/gdb/gdbcmd.h +++ b/gdb/gdbcmd.h @@ -139,6 +139,8 @@ extern void execute_command (const char *, int); as cli_styling. */ extern std::string execute_command_to_string (const char *p, int from_tty, bool term_out); +extern void execute_command_to_ui_file (struct ui_file *file, + const char *p, int from_tty); extern void print_command_line (struct command_line *, unsigned int, struct ui_file *); |