This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH OBV] Fix indentation
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 8 Nov 2016 11:36:17 +0000
- Subject: [PATCH OBV] Fix indentation
- Authentication-results: sourceware.org; auth=none
Patch is pushed in.
gdb:
2016-11-08 Yao Qi <yao.qi@linaro.org>
* rust-lang.c (val_print_struct): Fix indentation.
---
gdb/ChangeLog | 4 ++++
gdb/rust-lang.c | 6 +++---
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;
--
1.9.1