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: Simplify MI breakpoint setting


On Tuesday 01 September 2009 Tom Tromey wrote:

> >>>>> "Volodya" == Vladimir Prus <vladimir@codesourcery.com> writes:
> 
> Volodya> And, progressing recursively, what is the point of not exposing
> Volodya> all the parameters of break_command_really?
> 
> I don't actually know.  But if I had to guess, I would say it is because
> providing wrappers ensures you can't pass in some forms of nonsense.
> 
> If you really want to do it, and nobody objects, then I guess I don't
> care all that much.  This whole API seems a bit nuts, any time you have
> 13 arguments you should just assume you've done something wrong already.
> 
> I do care about not exporting a function named "break_command_really"
> though.

Ok. I imagine that break_command_really can be renamed to set_breakpoint :-)

- Volodya


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