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/target/target.h | |
parent | ca7f92c2f15b86b09c4a8ad14806bef666308d31 (diff) | |
download | binutils-users/simark/clang-format.zip binutils-users/simark/clang-format.tar.gz binutils-users/simark/clang-format.tar.bz2 |
Run clang-format.shusers/simark/clang-format
Change-Id: Ia948cc26d534b0dd02702244d52434b1a2093968
Diffstat (limited to 'gdb/target/target.h')
-rw-r--r-- | gdb/target/target.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/target/target.h b/gdb/target/target.h index d1a18ee..b9c1cf2 100644 --- a/gdb/target/target.h +++ b/gdb/target/target.h @@ -53,8 +53,8 @@ extern int target_read_uint32 (CORE_ADDR memaddr, uint32_t *result); in some cases -- but these will not be returned). Returns nullptr on error. */ -extern gdb::unique_xmalloc_ptr<char> target_read_string - (CORE_ADDR memaddr, int len, int *bytes_read = nullptr); +extern gdb::unique_xmalloc_ptr<char> +target_read_string (CORE_ADDR memaddr, int len, int *bytes_read = nullptr); /* Read a string from the inferior, at ADDR, with LEN characters of WIDTH bytes each. Fetch at most FETCHLIMIT characters. BUFFER @@ -131,17 +131,17 @@ extern int target_supports_multi_process (void); /* Possible terminal states. */ enum class target_terminal_state - { - /* The inferior's terminal settings are in effect. */ - is_inferior = 0, +{ + /* The inferior's terminal settings are in effect. */ + is_inferior = 0, - /* Some of our terminal settings are in effect, enough to get + /* Some of our terminal settings are in effect, enough to get proper output. */ - is_ours_for_output = 1, + is_ours_for_output = 1, - /* Our terminal settings are in effect, for output and input. */ - is_ours = 2 - }; + /* Our terminal settings are in effect, for output and input. */ + is_ours = 2 +}; /* Represents the state of the target terminal. */ class target_terminal |