From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27275 invoked by alias); 20 Oct 2004 16:04:21 -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 27266 invoked from network); 20 Oct 2004 16:04:20 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 20 Oct 2004 16:04:20 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CKIwj-0001uX-9z; Wed, 20 Oct 2004 12:04:17 -0400 Date: Wed, 20 Oct 2004 16:04:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: David Lecomber , patches Subject: Re: RFC: The Constructor Breakpoint Issue Message-ID: <20041020160416.GA7279@nevyn.them.org> Mail-Followup-To: Jim Blandy , David Lecomber , patches References: <1097714229.11117.99.camel@localhost.localdomain> <1097847699.1773.81.camel@localhost.localdomain> <20041015145144.GB25188@nevyn.them.org> <1098277715.628.20.camel@delmo.priv.wark.uk.streamline-computing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-10/txt/msg00341.txt.bz2 On Wed, Oct 20, 2004 at 11:00:25AM -0500, Jim Blandy wrote: > The line number lookup code actually looks for "best" matches, not > just exact matches; see symtab.c:find_line_common. Preserving that > behavior will require a bit of care. > > The downside that comes to mind is that this approach requires GDB to > always traverse the full linetable, instead of stopping as soon as it > finds an exact match, as it does now. I think the data structures involved will have to change to do this, or it will just be too painful. -- Daniel Jacobowitz