[PATCH] Re: bug in mi when setting breakpoint

Nick Roberts nickrob@snap.net.nz
Sat Jan 19 21:45:00 GMT 2008


 > To clarify -- are you suggesting what we should first create breakpoints
 > for all overloaded function, and then remove those we don't need, in MI?

In Emacs, multiple breakpoints are only created when the user specifies the
overloaded function in the GUD buffer (if he clicks on the fringe in an
overloaded function in the source buffer he only gets one breakpoint at the
line on which he clicked).

If GDB sets all these breakpoints, unwanted ones could then be deleted manually
either by typing "delete BKPTNO" in the GUD buffer, or clicking on individual
breakpoint icons in the fringe of the source buffers.

(I think the answer to your question is "Yes.".)

-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Gdb-patches mailing list