From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27393 invoked by alias); 31 May 2011 20:59:10 -0000 Received: (qmail 27367 invoked by uid 22791); 31 May 2011 20:59:09 -0000 X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_BJ,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; Tue, 31 May 2011 20:58:47 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4VKwkRs005264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 31 May 2011 16:58:46 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p4VKwkrZ030903; Tue, 31 May 2011 16:58:46 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id p4VKwjU8001648; Tue, 31 May 2011 16:58:45 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id 683773780EF; Tue, 31 May 2011 14:58:45 -0600 (MDT) From: Tom Tromey To: Keith Seitz Cc: gdb-patches@sourceware.org Subject: Re: [RFA] "Error in re-setting breakpoint," c++/12750 References: <4DD6B72D.3060706@redhat.com> Date: Tue, 31 May 2011 20:59:00 -0000 In-Reply-To: <4DD6B72D.3060706@redhat.com> (Keith Seitz's message of "Fri, 20 May 2011 11:47:09 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-05/txt/msg00707.txt.bz2 >>>>> "Keith" == Keith Seitz writes: Keith> PR c++/12750 Keith> * linespec.c (get_search_block): New function. Keith> (find_methods): Add FILE_SYMTATB parameter and use it and Keith> get_search_block to pass an appropriate block to Keith> lookup_symbol_in_namespace. Keith> (decode_line_1): Record if *ARGPTR is single-quote enclosed. Keith> Check if *ARGPTR starts with a filename first. Keith> If it does, call locate_first_half again to locate the next Keith> "first half" of the linespec. Keith> Pass FILE_SYMTATB to decode_objc and decode_compound. Keith> Swallow the trailing single-quote if IS_SQUOTE_ENCLOSED. Keith> (locate_first_half): Stop on the first colon seen. Keith> (decode_compound): Add FILE_SYMTAB parameter. Keith> Pass FILE_SYMTAB to lookup_prefix_sym and find_method. Keith> (lookup_prefix_sym): Add FILE_SYMTAB parameter and use Keith> get_search_block with lookup_symbol. Keith> (find_method): Add FILE_SYMTAB parameter and pass it to Keith> find_methods. Keith> (decode_objc): Use get_search_block. Keith> 2010-05-18 Keith Seitz Keith> PR c++/12750 Keith> * gdb.cp/static-method.cc: New file. Keith> * gdb.cp/static-method.exp: New file. Ok. Tom