[PATCH] Re: bug in mi when setting breakpoint

Nick Roberts nickrob@snap.net.nz
Thu Jan 17 20:35:00 GMT 2008


 > 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



More information about the Gdb-patches mailing list