From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24373 invoked by alias); 26 Jan 2007 18:55:51 -0000 Received: (qmail 24365 invoked by uid 22791); 26 Jan 2007 18:55:50 -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; Fri, 26 Jan 2007 18:55:43 +0000 Received: (qmail 25947 invoked from network); 26 Jan 2007 18:55:39 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 26 Jan 2007 18:55:39 -0000 To: Michael Snyder Cc: Joel Brobecker , gdb@sourceware.org Subject: Re: Breaking on C labels? References: <20070125194905.GB4262@adacore.com> <1169767203.22601.128.camel@localhost.localdomain> From: Jim Blandy Date: Fri, 26 Jan 2007 18:55:00 -0000 In-Reply-To: <1169767203.22601.128.camel@localhost.localdomain> (Michael Snyder's message of "Thu, 25 Jan 2007 15:20:03 -0800") 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-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00331.txt.bz2 Michael Snyder writes: > There's a risk that some symbol-lookup function would then select that > label instead of the function entry label when you tried to look up the > nearest label preceeding a given address. This should be easy to avoid, shouldn't it? We would only recognize LOC_LABEL entries for breakpoints, and ignore them for lookups by address.