aboutsummaryrefslogtreecommitdiff
path: root/gdb
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 /gdb
parent9dc193c3be85aafa60ceff57d3b0430af607b4ce (diff)
downloadgdb-20955dbf718992e83b7c971344931934b62a784f.zip
gdb-20955dbf718992e83b7c971344931934b62a784f.tar.gz
gdb-20955dbf718992e83b7c971344931934b62a784f.tar.bz2
Fix indentation
gdb: 2016-11-08 Yao Qi <yao.qi@linaro.org> * rust-lang.c (val_print_struct): Fix indentation.
Diffstat (limited to 'gdb')
-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 f029938..db5ec9b 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 edf65e5..0a49696 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;