From: Joel Brobecker Date: Sun, 1 Nov 2020 07:38:45 +0000 (-0500) Subject: ada-lang.c: fix line too long in cast_from_gnat_encoded_fixed_point_type X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db99d0d055a05d746fdc8d84a0a667c53154f760;p=binutils-gdb.git ada-lang.c: fix line too long in cast_from_gnat_encoded_fixed_point_type One of the lines got too long after a renaming done in a previous commit. This fixes that. gdb/ChangeLog: * ada-lang.c (cast_from_gnat_encoded_fixed_point_type): Split line too long. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8e46763a5da..4654c208f79 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-11-01 Joel Brobecker + + * ada-lang.c (cast_from_gnat_encoded_fixed_point_type): Split + line too long. + 2020-11-01 Joel Brobecker * ada-lang.c (cast_from_gnat_encoded_fixed_point_type): Renames diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index c0c440ddc06..e94dd8cadbe 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -9172,7 +9172,8 @@ unwrap_value (struct value *val) static struct value * cast_from_gnat_encoded_fixed_point_type (struct type *type, struct value *arg) { - struct value *scale = gnat_encoded_fixed_point_scaling_factor (value_type (arg)); + struct value *scale + = gnat_encoded_fixed_point_scaling_factor (value_type (arg)); arg = value_cast (value_type (scale), arg); arg = value_binop (arg, scale, BINOP_MUL);