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


 > This is different to what I've proposed -- namely reporting "there are
 > several overloaded functions" and then allowing the frontend to select a
 > specific one. 

I must have missed that.  Can you please point to a reference?

 >               The solution you propose does not give a frontend a way to
 > control which overloaded function to set breakpoint on, which seems like an
 > important limitation for me.

After selecting all breakpoints GDB prints:

  warning: Multiple breakpoints were set.
  Use the "delete" command to delete unwanted breakpoints.

I can see it may be an inconvenience but not how it can be a limitation.
IMHO, it seems preferable to generating prompts that are not compatible with
rules for MI output.

-- 
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]