From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22960 invoked by alias); 22 Jul 2012 07:11:26 -0000 Received: (qmail 22945 invoked by uid 22791); 22 Jul 2012 07:11:24 -0000 X-SWARE-Spam-Status: No, hits=-6.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 22 Jul 2012 07:11:07 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q6M7ArVM010729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 22 Jul 2012 03:10:53 -0400 Received: from host2.jankratochvil.net (ovpn-116-30.ams2.redhat.com [10.36.116.30]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q6M7AnKY013010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sun, 22 Jul 2012 03:10:51 -0400 Date: Sun, 22 Jul 2012 07:11:00 -0000 From: Jan Kratochvil To: Hui Zhu Cc: gdb-patches ml , Joel Brobecker Subject: Re: [PATCH Bug breakpoints/14381] Fix linespec to parse file name that begin with decimal numbers Message-ID: <20120722071044.GA8522@host2.jankratochvil.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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-07/txt/msg00421.txt.bz2 On Sun, 22 Jul 2012 08:30:02 +0200, Hui Zhu wrote: > This issue is because function linespec_lexer_lex_one handle the > string that begin with decimal numbers decimal numbers directly and > use linespec_lexer_lex_number handle it directly. There should be a testcase for it. (Not a review yet.) Thanks, Jan