From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24849 invoked by alias); 1 Sep 2009 05:16:52 -0000 Received: (qmail 24836 invoked by uid 22791); 1 Sep 2009 05:16:51 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Sep 2009 05:16:44 +0000 Received: (qmail 11959 invoked from network); 1 Sep 2009 05:16:41 -0000 Received: from unknown (HELO wind.localnet) (vladimir@127.0.0.2) by mail.codesourcery.com with ESMTPA; 1 Sep 2009 05:16:41 -0000 From: Vladimir Prus To: Tom Tromey Subject: Re: Simplify MI breakpoint setting Date: Tue, 01 Sep 2009 05:16:00 -0000 User-Agent: KMail/1.11.90 (Linux/2.6.24-24-generic; KDE/4.2.90; i686; svn-979530; 2009-06-10) Cc: gdb-patches@sources.redhat.com References: <200908011113.32939.vladimir@codesourcery.com> <200908241353.40486.vladimir@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200909010916.41171.vladimir@codesourcery.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-09/txt/msg00008.txt.bz2 On Tuesday 01 September 2009 Tom Tromey wrote: > >>>>> "Volodya" == Vladimir Prus 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