From patchwork Tue Jan 13 10:47:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Brobecker X-Patchwork-Id: 4637 Received: (qmail 17473 invoked by alias); 13 Jan 2015 10:48:08 -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 17337 invoked by uid 89); 13 Jan 2015 10:48:07 -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; Tue, 13 Jan 2015 10:48:06 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id CD819116423 for ; Tue, 13 Jan 2015 05:48:04 -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 ToWSTKXCgmse for ; Tue, 13 Jan 2015 05:48:04 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 5B579116421 for ; Tue, 13 Jan 2015 05:48:04 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id C86C148E8B; Tue, 13 Jan 2015 14:47:59 +0400 (RET) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [PATCH 2/2] [ARI] Remove trailing new-line in argument of call to warning. Date: Tue, 13 Jan 2015 14:47:52 +0400 Message-Id: <1421146072-24296-3-git-send-email-brobecker@adacore.com> In-Reply-To: <1421146072-24296-1-git-send-email-brobecker@adacore.com> References: <20150110015400.GA7237@sourceware.org> <1421146072-24296-1-git-send-email-brobecker@adacore.com> gdb/ChangeLog: * nat/linux-procfs.c (linux_proc_attach_tgid_threads): Remove trailing new-line in argument of call to warning. --- gdb/ChangeLog | 5 +++++ gdb/nat/linux-procfs.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ee17d7..bb66830 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2015-01-13 Joel Brobecker + * nat/linux-procfs.c (linux_proc_attach_tgid_threads): + Remove trailing new-line in argument of call to warning. + +2015-01-13 Joel Brobecker + * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing new-line in argument of call to "warning". diff --git a/gdb/nat/linux-procfs.c b/gdb/nat/linux-procfs.c index 00b6a70..5dd2b92 100644 --- a/gdb/nat/linux-procfs.c +++ b/gdb/nat/linux-procfs.c @@ -212,7 +212,7 @@ linux_proc_attach_tgid_threads (pid_t pid, dir = opendir (pathname); if (dir == NULL) { - warning (_("Could not open /proc/%ld/task.\n"), (long) pid); + warning (_("Could not open /proc/%ld/task."), (long) pid); return; }