aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@adacore.com>2018-09-08 16:48:04 -0500
committerJoel Brobecker <brobecker@adacore.com>2018-09-08 17:48:04 -0400
commitd8ce91275e421dfe57aa4e79bb9a58824c155e96 (patch)
tree24e25df96d5320e938a2db75f84b5b865d2f1e41
parent0d81f350ec01630ef7cd9ae4385a1dc504c54d73 (diff)
downloadfsf-binutils-gdb-d8ce91275e421dfe57aa4e79bb9a58824c155e96.zip
fsf-binutils-gdb-d8ce91275e421dfe57aa4e79bb9a58824c155e96.tar.gz
fsf-binutils-gdb-d8ce91275e421dfe57aa4e79bb9a58824c155e96.tar.bz2
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.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ada-lang.c4
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;
}