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/mi/mi-parse.h | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | fsf-binutils-gdb-users/simark/clang-format.zip fsf-binutils-gdb-users/simark/clang-format.tar.gz fsf-binutils-gdb-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/mi/mi-parse.h')
-rw-r--r-- | gdb/mi/mi-parse.h | 53 |
1 files changed, 27 insertions, 26 deletions
diff --git a/gdb/mi/mi-parse.h b/gdb/mi/mi-parse.h index e347969..97353e3 100644 --- a/gdb/mi/mi-parse.h +++ b/gdb/mi/mi-parse.h @@ -22,7 +22,7 @@ #include "gdbsupport/run-time-clock.h" #include <chrono> -#include "mi-cmds.h" /* For enum print_values. */ +#include "mi-cmds.h" /* For enum print_values. */ /* MI parser */ @@ -35,34 +35,35 @@ struct mi_timestamp }; enum mi_command_type - { - MI_COMMAND, CLI_COMMAND - }; +{ + MI_COMMAND, + CLI_COMMAND +}; struct mi_parse - { - mi_parse (); - ~mi_parse (); - - DISABLE_COPY_AND_ASSIGN (mi_parse); - - enum mi_command_type op; - char *command; - char *token; - const struct mi_command *cmd; - struct mi_timestamp *cmd_start; - char *args; - char **argv; - int argc; - int all; - int thread_group; /* At present, the same as inferior number. */ - int thread; - int frame; - - /* The language that should be used to evaluate the MI command. +{ + mi_parse (); + ~mi_parse (); + + DISABLE_COPY_AND_ASSIGN (mi_parse); + + enum mi_command_type op; + char *command; + char *token; + const struct mi_command *cmd; + struct mi_timestamp *cmd_start; + char *args; + char **argv; + int argc; + int all; + int thread_group; /* At present, the same as inferior number. */ + int thread; + int frame; + + /* The language that should be used to evaluate the MI command. Ignored if set to language_unknown. */ - enum language language; - }; + enum language language; +}; /* Attempts to parse CMD returning a ``struct mi_parse''. If CMD is invalid, an exception is thrown. For an MI_COMMAND COMMAND, ARGS |