From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18635 invoked by alias); 6 Nov 2003 20:27:01 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18613 invoked from network); 6 Nov 2003 20:27:00 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 6 Nov 2003 20:27:00 -0000 Received: from drow by nevyn.them.org with local (Exim 4.24 #1 (Debian)) id 1AHqiZ-0008BF-VV for ; Thu, 06 Nov 2003 15:26:59 -0500 Date: Thu, 06 Nov 2003 20:27:00 -0000 From: Daniel Jacobowitz To: "gdb-patches@sources.redhat.com" Subject: Re: [RFC]: Disallow ObjC search when resetting breakpoint. Message-ID: <20031106202659.GA31400@nevyn.them.org> Mail-Followup-To: "gdb-patches@sources.redhat.com" References: <1066363062.1070.26.camel@localhost.localdomain> <16298.44254.36492.73447@localhost.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16298.44254.36492.73447@localhost.redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-11/txt/msg00099.txt.bz2 On Thu, Nov 06, 2003 at 03:19:42PM -0500, Elena Zannoni wrote: > Hmm, not sure about this. Maybe it is the code that follows your new > 'if' in decode_line_1 that should be changed. Definitely saving more > info in the breakpoints would be helpful. > > Question: how does this work for overloaded functions in c++? > decode_line_1 calls decode_compounds, which calls find_method, which > calls decode_line_2, which asks the user. I would think a similar > problem arises there. If not, then can we make objc do the same thing > that c++ does? For C++, the problem doesn't arise. I think that ObjC's problem is that one of the options is the same as the ambiguous form; C++ can always generate a description of which overloaded function is meant. Well, except when it can't. I have some ideas on how to address this, but I haven't even created the branch for it yet :) -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer