diff options
author | Joel Brobecker <brobecker@adacore.com> | 2016-01-20 08:01:39 +0400 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2016-01-20 08:03:44 +0400 |
commit | be56871ee8f65c51b9eee611532ed036a71a72e0 (patch) | |
tree | 2135c5ddc37705f20b469e17356ab84f51f93e33 /gdb/printcmd.c | |
parent | e36a770198db8e67b94ae0fb44e01793eaff361b (diff) | |
download | gdb-be56871ee8f65c51b9eee611532ed036a71a72e0.zip gdb-be56871ee8f65c51b9eee611532ed036a71a72e0.tar.gz gdb-be56871ee8f65c51b9eee611532ed036a71a72e0.tar.bz2 |
minor reformatting in printcmd.c::print_scalar_formatted
(GNU Coding Standard...)
gdb/ChangeLog:
* printcmd.c (print_scalar_formatted): move binary operator from
end of line to beginning of next line. Adjust formatting
accordingly.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 8acf441..f5c4211 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -358,9 +358,9 @@ print_scalar_formatted (const gdb_byte *valaddr, struct type *type, /* String printing should go through val_print_scalar_formatted. */ gdb_assert (options->format != 's'); - if (len > sizeof(LONGEST) && - (TYPE_CODE (type) == TYPE_CODE_INT - || TYPE_CODE (type) == TYPE_CODE_ENUM)) + if (len > sizeof(LONGEST) + && (TYPE_CODE (type) == TYPE_CODE_INT + || TYPE_CODE (type) == TYPE_CODE_ENUM)) { switch (options->format) { |