This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 5/8] minor reformatting in ada-lang.c::ada_to_fixed_value
The arguments in the call to ada_to_fixed_value_create where
improperly aligned. But I also noticed that all the arguments
do fit on a single-line (up to 79 characters). So this patch
just fixes the code by putting everything on that same line.
gdb/ChangeLog:
* ada-lang.c (ada_to_fixed_value): Minor reformatting in
call to ada_to_fixed_value_create.
---
gdb/ChangeLog | 5 +++++
gdb/ada-lang.c | 4 +---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 41b1ad4..7869bc1 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-09-08 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_to_fixed_value): Minor reformatting in
+ call to ada_to_fixed_value_create.
+
2018-09-08 Jerome Guitton <guitton@adacore.com>
* ada-lang.c (ada_decode): strip dot prefix in symbol name.
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 16c7c51..b370b3c 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -9312,9 +9312,7 @@ struct value *
ada_to_fixed_value (struct value *val)
{
val = unwrap_value (val);
- val = ada_to_fixed_value_create (value_type (val),
- value_address (val),
- val);
+ val = ada_to_fixed_value_create (value_type (val), value_address (val), val);
return val;
}
--
2.1.4