From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19471 invoked by alias); 16 Aug 2013 10:31:40 -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 19462 invoked by uid 89); 16 Aug 2013 10:31:39 -0000 X-Spam-SWARE-Status: No, score=-7.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 16 Aug 2013 10:31:39 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7GAVbFO024795 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 16 Aug 2013 06:31:37 -0400 Received: from localhost.localdomain (ovpn-112-34.ams2.redhat.com [10.36.112.34]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r7GAVal5011886 for ; Fri, 16 Aug 2013 06:31:37 -0400 Message-ID: <520DFF88.1050502@redhat.com> Date: Fri, 16 Aug 2013 10:31:00 -0000 From: Phil Muldoon MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: [patch] Fix PR cli/15842 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-08/txt/msg00419.txt.bz2 This patch fixes a regression introduced by me when adding further help text prompts. It forced the symbol reading prompt ".." onto a newline when GDB is started with a an inferior. The fix just removes the erroneous newline my previous patch introduced. Tested on Fedora 17, x86_64. OK to commit? Cheers, Phil 2013-08-16 Phil Muldoon * top.c (print_gdb_version): Remove erroneous newline after help text. -- diff --git a/gdb/top.c b/gdb/top.c index 516ffb9..bb71263 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -1153,7 +1153,7 @@ Type \"show configuration\" for configuration details."); resources online at:\n.\n")); fprintf_filtered (stream, _("For help, type \"help\".\n")); fprintf_filtered (stream, _("Type \"apropos word\" to search for \ -commands related to \"word\".\n")); +commands related to \"word\".")); } /* Print the details of GDB build-time configuration. */