From patchwork Sat Sep 8 21:55:57 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 29267 Received: (qmail 109393 invoked by alias); 8 Sep 2018 22:06:10 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 109062 invoked by uid 89); 8 Sep 2018 22:06:09 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 08 Sep 2018 22:06:08 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id F1B19116161 for ; Sat, 8 Sep 2018 17:56:08 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id hXoZQOf9VzA6 for ; Sat, 8 Sep 2018 17:56:08 -0400 (EDT) Received: from tron.gnat.com (tron.gnat.com [205.232.38.10]) by rock.gnat.com (Postfix) with ESMTP id E305F116157 for ; Sat, 8 Sep 2018 17:56:08 -0400 (EDT) Received: by tron.gnat.com (Postfix, from userid 4233) id DD396489; Sat, 8 Sep 2018 17:56:08 -0400 (EDT) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [PATCH 5/8] minor reformatting in ada-lang.c::ada_to_fixed_value Date: Sat, 8 Sep 2018 17:55:57 -0400 Message-Id: <1536443760-78016-6-git-send-email-brobecker@adacore.com> In-Reply-To: <1536443760-78016-1-git-send-email-brobecker@adacore.com> References: <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 + + * ada-lang.c (ada_to_fixed_value): Minor reformatting in + call to ada_to_fixed_value_create. + 2018-09-08 Jerome Guitton * 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; }