From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3244 invoked by alias); 25 Mar 2012 12:28:24 -0000 Received: (qmail 3234 invoked by uid 22791); 25 Mar 2012 12:28:23 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_SM X-Spam-Check-By: sourceware.org Received: from mail-pb0-f41.google.com (HELO mail-pb0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 25 Mar 2012 12:28:08 +0000 Received: by mail-pb0-f41.google.com with SMTP id up15so5047412pbc.0 for ; Sun, 25 Mar 2012 05:28:08 -0700 (PDT) Received: by 10.68.217.97 with SMTP id ox1mr44527635pbc.81.1332678488014; Sun, 25 Mar 2012 05:28:08 -0700 (PDT) Received: from [192.168.1.128] ([115.192.125.28]) by mx.google.com with ESMTPS id f10sm10126372pbt.75.2012.03.25.05.28.05 (version=SSLv3 cipher=OTHER); Sun, 25 Mar 2012 05:28:06 -0700 (PDT) Message-ID: <4F6F0F84.6050205@gmail.com> Date: Sun, 25 Mar 2012 12:28:00 -0000 From: asmwarrior User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: Keith Seitz CC: gdb-patches@sourceware.org Subject: Re: [RFA 1/3] Linespec rewrite: Parsing References: <4F67A319.4090608@redhat.com> <4F6DC651.6060704@gmail.com> <4F6E0319.1080100@redhat.com> In-Reply-To: <4F6E0319.1080100@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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-03/txt/msg00847.txt.bz2 On 2012-3-25 1:23, Keith Seitz wrote: > On 03/24/2012 06:04 AM, asmwarrior wrote: > >> [debug]> break >> "E:/code/cb/cb_trunk/src/plugins/codecompletion/parser/token.cpp:64" >> [debug]unmatched quote > This is now an illegal linespec. You do not need to quote this at all. > This is one of the motivating factors for doing this rewrite: the > quoting is _out of control_. [If you do want to quote it, ONLY quote the > filename portion.] > > It appears you may be using the patches I submitted to the list. I've > committed one or two additional patches for problems I've found to the > archer branch, one of which deal specifically with quoting and embedded > colons. > > I encourage you to try that branch: > > (gdb) break > E:/code/cb/cb_trunk/src/plugins/codecompletion/parser/token.cpp:64 > No source file named > E:/code/cb/cb_trunk/src/plugins/codecompletion/parser/token.cpp. > > Leaving the quoting in place will force the lookup of the function > "E:/.../token.cpp:64", which I'm guessing is not what you really want. :-) > > Thank you for giving the patch a whirl! > > Keith Hi, Keith,thanks. I'm now using your archer branch, I also change the break command from: m_Cmd<< _T('"')<< out<< _T(":")<< wxString::Format(_T("%d"), m_BP->line)<< _T('"'); To: m_Cmd<< out<< _T(":")<< wxString::Format(_T("%d"), m_BP->line); In Code::blocks' debugger front end source, note: "out" is the fine name string. Now setting BP works OK under Code::blocks. Yuanhui Zhang