diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:36:23 -0500 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2023-02-08 15:46:02 -0500 |
commit | c583a2520616c2736cffc389c89a48b159366e6c (patch) | |
tree | b4925f26506fcee96c16119431c01760f05db95d /gdb/gdbcmd.h | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | gdb-users/simark/clang-format.zip gdb-users/simark/clang-format.tar.gz gdb-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/gdbcmd.h')
-rw-r--r-- | gdb/gdbcmd.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/gdb/gdbcmd.h b/gdb/gdbcmd.h index 9f67656..c64b0af 100644 --- a/gdb/gdbcmd.h +++ b/gdb/gdbcmd.h @@ -21,7 +21,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#if !defined (GDBCMD_H) +#if !defined(GDBCMD_H) #define GDBCMD_H 1 #include "command.h" @@ -34,7 +34,8 @@ 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); +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. @@ -43,12 +44,13 @@ extern void execute_fn_to_ui_file (struct ui_file *file, std::function<void(void (e.g. no styling). */ extern void execute_fn_to_string (std::string &res, - std::function<void(void)> fn, bool term_out); + 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); +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. */ @@ -57,13 +59,13 @@ extern void execute_command_to_string (std::string &res, const char *p, /* 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 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 *, - struct command_line *, unsigned int); +extern void print_command_lines (struct ui_out *, struct command_line *, + unsigned int); /* Chains containing all defined "set/show style" subcommands. */ extern struct cmd_list_element *style_set_list; |