From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17309 invoked by alias); 13 Jan 2015 10:48:07 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 17240 invoked by uid 89); 13 Jan 2015 10:48:06 -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:04 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 567FC11642B for ; Tue, 13 Jan 2015 05:48:02 -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 Mndwvo7oGqVI for ; Tue, 13 Jan 2015 05:48:02 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id D897D116421 for ; Tue, 13 Jan 2015 05:48:01 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 51EE748E8C; Tue, 13 Jan 2015 14:47:57 +0400 (RET) From: Joel Brobecker To: gdb-patches@sourceware.org Subject: [PATCH 1/2] [ARI] Remove trailing new-line in argument of call to warning. Date: Tue, 13 Jan 2015 10:48:00 -0000 Message-Id: <1421146072-24296-2-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> X-SW-Source: 2015-01/txt/msg00330.txt.bz2 gdb/ChangeLog: * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing new-line in argument of call to "warning". --- gdb/ChangeLog | 5 +++++ gdb/linux-nat.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6610b77..7ee17d7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2015-01-13 Joel Brobecker + * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing + new-line in argument of call to "warning". + +2015-01-13 Joel Brobecker + * ada-lang.c (ada_lookup_symbol_nonlocal): If name not found in static block, then try searching for primitive types. diff --git a/gdb/linux-nat.c b/gdb/linux-nat.c index 5f2c176b..a8a63cf 100644 --- a/gdb/linux-nat.c +++ b/gdb/linux-nat.c @@ -1181,7 +1181,7 @@ attach_proc_task_lwp_callback (ptid_t ptid) } else { - warning (_("Cannot attach to lwp %d: %s\n"), + warning (_("Cannot attach to lwp %d: %s"), lwpid, linux_ptrace_attach_fail_reason_string (ptid, err)); -- 1.9.1