From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12011 invoked by alias); 23 Aug 2012 09:50:16 -0000 Received: (qmail 11992 invoked by uid 22791); 23 Aug 2012 09:50:15 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 23 Aug 2012 09:49:57 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1T4U33-0006o8-6q from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Thu, 23 Aug 2012 02:49:57 -0700 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 23 Aug 2012 02:49:57 -0700 Received: from qiyao.dyndns.org.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.1.289.1; Thu, 23 Aug 2012 02:49:55 -0700 From: Yao Qi To: Subject: [PATCH 1/2] Append "." in error message. Date: Thu, 23 Aug 2012 09:50:00 -0000 Message-ID: <1345715389-20955-1-git-send-email-yao@codesourcery.com> In-Reply-To: <877gt1zbr5.fsf@fleche.redhat.com> References: <877gt1zbr5.fsf@fleche.redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes 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 X-SW-Source: 2012-08/txt/msg00647.txt.bz2 This patch is to add "." at the end of message "No symbol XXX in current context", and fix a FAIL in testsuite. -FAIL: gdb.java/jnpe.exp: check for unwinder hook +PASS: gdb.java/jnpe.exp: check for unwinder hook +PASS: gdb.java/jnpe.exp: check for stap probe in unwinder It is obvious. I'll check it in. gdb: 2012-08-23 Yao Qi * jv-exp.y (push_expression_name): Add "." at the end of error message. --- gdb/jv-exp.y | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gdb/jv-exp.y b/gdb/jv-exp.y index ee17654..d0fca67 100644 --- a/gdb/jv-exp.y +++ b/gdb/jv-exp.y @@ -1399,7 +1399,7 @@ push_expression_name (struct stoken name) else if (!have_full_symbols () && !have_partial_symbols ()) error (_("No symbol table is loaded. Use the \"file\" command")); else - error (_("No symbol \"%s\" in current context"), tmp); + error (_("No symbol \"%s\" in current context."), tmp); } } -- 1.7.7.6