From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2182 invoked by alias); 6 May 2011 04:42:41 -0000 Received: (qmail 2172 invoked by uid 22791); 6 May 2011 04:42:39 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 May 2011 04:42:25 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4D4E32BB2C7; Fri, 6 May 2011 00:42:24 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2aNLA76pGeFW; Fri, 6 May 2011 00:42:24 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 1E5CE2BB2C6; Fri, 6 May 2011 00:42:24 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 8DA65145615; Thu, 5 May 2011 21:42:20 -0700 (PDT) Date: Fri, 06 May 2011 04:42:00 -0000 From: Joel Brobecker To: Jan Kratochvil Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFC] canonical linespec and multiple breakpoints ... Message-ID: <20110506044220.GD2568@adacore.com> References: <20110505162855.GA2546@adacore.com> <20110505224016.GB2568@adacore.com> <20110506031935.GA17062@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110506031935.GA17062@host1.jankratochvil.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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: 2011-05/txt/msg00175.txt.bz2 > You have commonly system libraries debug info installed and you debug > some unpackaged application without debug info. You see there > application function `next_line', you `break next_line' on it. > > Oops, the breakpoint is missed, it broke on libc static function > `next_line' and not on the application function. OK. This means that we need to have a canonical form for symbols without debug info as well. We actually have something for Ada that could be extended to all languages, I think: We use angle brackets to denote the fact that an entity name is a linkage name. For instance: break -- Joel