From patchwork Sat Dec 13 15:28:18 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 4231 Received: (qmail 8571 invoked by alias); 13 Dec 2014 15:28:24 -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 8560 invoked by uid 89); 13 Dec 2014 15:28:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 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 (AES256-SHA encrypted) ESMTPS; Sat, 13 Dec 2014 15:28:21 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 37612116463 for ; Sat, 13 Dec 2014 10:28:19 -0500 (EST) 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 lhrGNGr8+60m for ; Sat, 13 Dec 2014 10:28:19 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 1FA0411645B for ; Sat, 13 Dec 2014 10:28:19 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 0099440164; Sat, 13 Dec 2014 10:28:19 -0500 (EST) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [pushed] Fix ARI warnings in gdb/compile/compile-object-load.c. Date: Sat, 13 Dec 2014 10:28:18 -0500 Message-Id: <1418484498-18260-1-git-send-email-brobecker@adacore.com> In-Reply-To: <20141213015310.GA6732@sourceware.org> References: <20141213015310.GA6732@sourceware.org> FYI: gdb/ChangeLog: * compile/compile-object-load.c (link_callbacks_multiple_definition) (link_callbacks_warning, link_callbacks_einfo): Remove trailing newline at end of warning message. Tested on x86_64-linux and pushed. --- gdb/ChangeLog | 6 ++++++ gdb/compile/compile-object-load.c | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index eef8960..ac916de 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2014-12-13 Joel Brobecker + * compile/compile-object-load.c (link_callbacks_multiple_definition) + (link_callbacks_warning, link_callbacks_einfo): Remove trailing + newline at end of warning message. + +2014-12-13 Joel Brobecker + * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Add support for new "EXTRA-ARGS" parameter. * configure.ac: If large-file support is disabled in GDB, diff --git a/gdb/compile/compile-object-load.c b/gdb/compile/compile-object-load.c index eedc9fa..d254c39 100644 --- a/gdb/compile/compile-object-load.c +++ b/gdb/compile/compile-object-load.c @@ -149,7 +149,7 @@ link_callbacks_multiple_definition (struct bfd_link_info *link_info, if (link_info->allow_multiple_definition) return TRUE; - warning (_("Compiled module \"%s\": multiple symbol definitions: %s\n"), + warning (_("Compiled module \"%s\": multiple symbol definitions: %s"), bfd_get_filename (abfd), h->root.string); return FALSE; } @@ -161,7 +161,7 @@ link_callbacks_warning (struct bfd_link_info *link_info, const char *xwarning, const char *symbol, bfd *abfd, asection *section, bfd_vma address) { - warning (_("Compiled module \"%s\" section \"%s\": warning: %s\n"), + warning (_("Compiled module \"%s\" section \"%s\": warning: %s"), bfd_get_filename (abfd), bfd_get_section_name (abfd, section), xwarning); /* Maybe permit running as a module? */ @@ -236,7 +236,7 @@ link_callbacks_einfo (const char *fmt, ...) va_end (ap); cleanups = make_cleanup (xfree, str); - warning (_("Compile module: warning: %s\n"), str); + warning (_("Compile module: warning: %s"), str); do_cleanups (cleanups); }