This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC]: Disallow ObjC search when resetting breakpoint.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]