public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 5/8] minor reformatting in ada-lang.c::ada_to_fixed_value
Date: Sat, 08 Sep 2018 22:06:00 -0000	[thread overview]
Message-ID: <1536443760-78016-6-git-send-email-brobecker@adacore.com> (raw)
In-Reply-To: <1536443760-78016-1-git-send-email-brobecker@adacore.com>

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;
 }
 \f
-- 
2.1.4

      parent reply	other threads:[~2018-09-08 22:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-08 21:56 Various fixes in ada-lang.c Joel Brobecker
2018-09-08 21:56 ` [PATCH 3/8] (Ada) "catch assert" spurious internal error Joel Brobecker
2018-09-08 21:56 ` [PATCH 2/8] (Ada) infinite loop when hitting unhandled exception catchpoint Joel Brobecker
2018-09-08 21:56 ` [PATCH 1/8] (Ada) assigning packed array aggregate with variable as component Joel Brobecker
2018-09-08 21:56 ` [PATCH 7/8] ada-lang.c::ada_value_cast: remove unnecessary parentheses Joel Brobecker
2018-09-08 21:56 ` [PATCH 4/8] Handle PPC64 function descriptor in Ada decoding Joel Brobecker
2018-09-08 21:56 ` [PATCH 8/8] (Ada) fix handling of expression with parameterless function call Joel Brobecker
2018-09-08 21:56 ` [PATCH 6/8] (Ada) slightly incorrect bounds for type of array indexed by enum Joel Brobecker
2018-09-08 22:06 ` Joel Brobecker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1536443760-78016-6-git-send-email-brobecker@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).