From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9674 invoked by alias); 16 Nov 2011 15:43:40 -0000 Received: (qmail 9654 invoked by uid 22791); 16 Nov 2011 15:43:37 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 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; Wed, 16 Nov 2011 15:43:24 +0000 Received: from nat-jpt.mentorg.com ([192.94.33.2] helo=PR1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RQhdz-0001aY-OH from Yao_Qi@mentor.com ; Wed, 16 Nov 2011 07:43:23 -0800 Received: from [127.0.0.1] ([172.16.63.104]) by PR1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 17 Nov 2011 00:43:22 +0900 Message-ID: <4EC3DA13.4060907@codesourcery.com> Date: Wed, 16 Nov 2011 15:43:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 MIME-Version: 1.0 To: Tom Tromey CC: Jan Kratochvil , gdb-patches@sourceware.org Subject: Re: RFA: implement ambiguous linespec proposal References: <20111028221459.GA28467@host1.jankratochvil.net> <20111104074543.GA13839@host1.jankratochvil.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: 2011-11/txt/msg00430.txt.bz2 On 11/15/2011 05:10 AM, Tom Tromey wrote: > Tom> Here is a refresh of this patch. This fixes the regressions noted by > Tom> Jan, but also changes ovsrch.exp not to assume that namespace lookups > Tom> are done. > > Here is the final revision. Tom, I applied it to GDB CVS 2011-11-10, and run regression test on tic6x-uclinux. There are two new fails, -PASS: gdb.cp/ovsrch.exp: break outer::foo if (a == 3) +FAIL: gdb.cp/ovsrch.exp: break A::outer::foo if (a == 3) -PASS: gdb.cp/ovsrch.exp: break inner::foo if (a == 3) +FAIL: gdb.cp/ovsrch.exp: break A::B::inner::foo if (a == 3) break A::outer::foo if (a == 3)^M Note: breakpoints 4, 5, 6, 7, 8 and 9 also set at pc 0xe79e2434.^M Note: breakpoints 12, 13, 14, 15, 16 and 17 also set at pc 0xe79e23d4.^M Note: breakpoints 10 and 11 also set at pc 0xe79e2370.^M No symbol "a" in current context.^M (gdb) FAIL: gdb.cp/ovsrch.exp: break A::outer::foo if (a == 3) break A::B::inner::foo if (a == 3)^M Note: breakpoints 20, 21, 22, 23, 24 and 25 also set at pc 0xe79e245c.^M Note: breakpoints 28, 29, 30, 31, 32 and 33 also set at pc 0xe79e23fc.^M Note: breakpoints 26 and 27 also set at pc 0xe79e2394.^M No symbol "a" in current context.^M (gdb) FAIL: gdb.cp/ovsrch.exp: break A::B::inner::foo if (a == 3) I'll debug this problem tomorrow, but if you have any clues, that will be helpful. -- Yao (齐尧)