From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1641 invoked by alias); 14 Nov 2007 22:16:23 -0000 Received: (qmail 1631 invoked by uid 22791); 14 Nov 2007 22:16:23 -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:16:21 +0000 Received: (qmail 27224 invoked from network); 14 Nov 2007 22:16:19 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Nov 2007 22:16:19 -0000 To: Vladimir Prus Cc: gdb-patches@sources.redhat.com Subject: Re: Make bp_location usage const References: <200711142009.55721.vladimir@codesourcery.com> From: Jim Blandy Date: Wed, 14 Nov 2007 22:16:00 -0000 In-Reply-To: (Vladimir Prus's message of "Wed, 14 Nov 2007 20:33:27 +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/msg00285.txt.bz2 Vladimir Prus writes: >> Many parts of breakpoint.c make only read-only use >> of breakpoint location list. However, it's somewhat >> hard to gather from the code. This patch adds 'const' >> qualifiers in a number of places to make this really >> obvious. OK? > > I've missed a couple of locations. Sorry, and here's > the updated patch. Okay --- looks good.