This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] Re: bug in mi when setting breakpoint


 > 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


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