summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;