This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC]: Disallow ObjC search when resetting breakpoint.
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: "gdb-patches at sources dot redhat dot com" <gdb-patches at sources dot redhat dot com>
- Date: Thu, 6 Nov 2003 16:03:02 -0500
- Subject: Re: [RFC]: Disallow ObjC search when resetting breakpoint.
- References: <1066363062.1070.26.camel@localhost.localdomain><16298.44254.36492.73447@localhost.redhat.com><20031106202659.GA31400@nevyn.them.org>
Daniel Jacobowitz writes:
> 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.
>
ah, right.
> I have some ideas on how to address this, but I haven't even created
> the branch for it yet :)
>
Ok I was hoping you'd say that! :-)
Let's wait then on this.
elena
> --
> Daniel Jacobowitz
> MontaVista Software Debian GNU/Linux Developer