From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13522 invoked by alias); 16 Oct 2003 16:03:28 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13507 invoked from network); 16 Oct 2003 16:03:28 -0000 Received: from unknown (HELO hawaii.kealia.com) (209.3.10.89) by sources.redhat.com with SMTP; 16 Oct 2003 16:03:28 -0000 Received: by hawaii.kealia.com (Postfix, from userid 2049) id 9EFE6CE11; Thu, 16 Oct 2003 09:03:27 -0700 (PDT) To: gdb-patches@sources.redhat.com Subject: Re: RFA: Breakpoint infrastructure cleanups [0/8] References: <20031008165534.GA8718@nevyn.them.org> <20031008190502.GA13579@nevyn.them.org> <3F846B04.2070801@redhat.com> <3F85B4AC.7000000@redhat.com> <20031014013831.GB6118@nevyn.them.org> <3F8C18DD.3020508@redhat.com> <20031014155126.GA10669@nevyn.them.org> <3F8C605E.1060604@redhat.com> <20031015224134.GA4102@nevyn.them.org> From: David Carlton Date: Thu, 16 Oct 2003 16:03:00 -0000 In-Reply-To: <20031015224134.GA4102@nevyn.them.org> (Daniel Jacobowitz's message of "Wed, 15 Oct 2003 18:41:34 -0400") Message-ID: User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-10/txt/msg00546.txt.bz2 On Wed, 15 Oct 2003 18:41:34 -0400, Daniel Jacobowitz said: > On Tue, Oct 14, 2003 at 01:45:18PM -0700, Michael Snyder wrote: >> From that perspective, I think a breakpoint is a breakpoint. To >> the user it represents a location in the *source* code. The fact >> that this may translate to several locations in the machine code is >> "under the hood", so to speak. ... >> So for instance, we might say that *this* is the breakpoint, and if >> you want to know, *these* are the breakpoint's *locations*. > Quite happy :) This suggests struct breakpoint and struct bp_location > (or maybe even bp_element, which is clearer for watchpoints, but less > clear overall). But they're both locations - one kind of location is in the source code, and one is in the machine code. So I would like to have the word 'source' in the user breakpoint structure. David Carlton carlton@kealia.com