summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2016-11-08 11:32:53 +0000
committerYao Qi <yao.qi@linaro.org>2016-11-08 11:32:53 +0000
commit20955dbf718992e83b7c971344931934b62a784f (patch)
tree00742f12be9f30102dae7bd441ba3aa47e09296e
parent9dc193c3be85aafa60ceff57d3b0430af607b4ce (diff)
downloadbinutils-gdb-20955dbf718992e83b7c971344931934b62a784f.tar.gz
Fix indentation
gdb: 2016-11-08 Yao Qi <yao.qi@linaro.org> * rust-lang.c (val_print_struct): Fix indentation.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/rust-lang.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f02993856d4..db5ec9bd41f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2016-11-08 Yao Qi <yao.qi@linaro.org>
+
+ * rust-lang.c (val_print_struct): Fix indentation.
+
2016-11-08 Lionel Flandrin <lionel@svkt.org>
* remote.c (process_g_packet): Detect truncated registers in 'g'
diff --git a/gdb/rust-lang.c b/gdb/rust-lang.c
index edf65e5a1eb..0a4969633d9 100644
--- a/gdb/rust-lang.c
+++ b/gdb/rust-lang.c
@@ -482,9 +482,9 @@ rust_printstr (struct ui_file *stream, struct type *type,
static void
val_print_struct (struct type *type, const gdb_byte *valaddr,
- int embedded_offset, CORE_ADDR address, struct ui_file *stream,
- int recurse, const struct value *val,
- const struct value_print_options *options)
+ int embedded_offset, CORE_ADDR address, struct ui_file *stream,
+ int recurse, const struct value *val,
+ const struct value_print_options *options)
{
int i;
int first_field;