From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15792 invoked by alias); 14 Nov 2007 22:39:20 -0000 Received: (qmail 15783 invoked by uid 22791); 14 Nov 2007 22:39:19 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Nov 2007 22:39:17 +0000 Received: (qmail 28305 invoked from network); 14 Nov 2007 22:39:15 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Nov 2007 22:39:15 -0000 To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: clear_breakpoint cleanup References: <200711141918.08715.vladimir@codesourcery.com> From: Jim Blandy Date: Wed, 14 Nov 2007 22:39:00 -0000 In-Reply-To: <200711141918.08715.vladimir@codesourcery.com> (Vladimir Prus's message of "Wed, 14 Nov 2007 19:18:08 +0300") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes 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: 2007-11/txt/msg00289.txt.bz2 Vladimir Prus writes: > Now, clear_breakpoint directly removes breakpoints from > global breakpoint list, even though delete_breakpoint > can do it just fine. This is not causing any bugs, but > for code simplicity sake, I'd like to reduce the amount > of code that accesses breakpoint list. The following > patch causes no regressions. OK? This looks good to me.