From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22886 invoked by alias); 4 Jun 2014 08:29:22 -0000 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 Received: (qmail 22871 invoked by uid 89); 4 Jun 2014 08:29:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: hera.aquilenet.fr Received: from hera.aquilenet.fr (HELO hera.aquilenet.fr) (141.255.128.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 04 Jun 2014 08:29:19 +0000 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4C8352AEE; Wed, 4 Jun 2014 10:29:16 +0200 (CEST) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id im7bmm4AeRac; Wed, 4 Jun 2014 10:29:16 +0200 (CEST) Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C722D2850; Wed, 4 Jun 2014 10:29:15 +0200 (CEST) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Eli Zaretskii Cc: Doug Evans , gdb-patches@sourceware.org Subject: Re: [PATCH, doc RFA] Split create-breakpoint! into make-breakpoint, register-breakpoint! References: <83fvjl889b.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 Prairial an 222 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu Date: Wed, 04 Jun 2014 08:29:00 -0000 In-Reply-To: <83fvjl889b.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 04 Jun 2014 10:05:20 +0300") Message-ID: <87y4xdf57p.fsf@gnu.org> User-Agent: Gnus/5.130009 (Ma Gnus v0.9) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2014-06/txt/msg00137.txt.bz2 Eli Zaretskii skribis: >> From: Doug Evans >> Date: Tue, 03 Jun 2014 21:53:48 -0700 >>=20 >> In keeping with the splitting of object creation and registration into >> two separate pieces, this does the same for breakpoints. >> "Consistency Is Good". >>=20 >> There hasn't been an FSF release of gdb+guile yet so I think it's ok >> to remove create-breakpoint! here. > > OK for the documentation part, but is delete-breakpoint a better name > than breakpoint-delete?. I prefer =E2=80=98delete-breakpoint!=E2=80=99. > A question: how does one discard breakpoint objects so that they no > longer exist? It seems that breakpoint-delete! only "deregisters" the > breakpoint, but there's no way to undo the effect of the > create-breakpoint procedure. They just get garbage collected eventually. Ludo=E2=80=99.