This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Simplify MI breakpoint setting
- From: Vladimir Prus <vladimir at codesourcery dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 1 Sep 2009 09:16:40 +0400
- Subject: Re: Simplify MI breakpoint setting
- References: <200908011113.32939.vladimir@codesourcery.com> <200908241353.40486.vladimir@codesourcery.com> <m3eiqry3ee.fsf@fleche.redhat.com>
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