From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24330 invoked by alias); 14 Feb 2009 16:08:17 -0000 Received: (qmail 24321 invoked by uid 22791); 14 Feb 2009 16:08:16 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 14 Feb 2009 16:08:08 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id F240D108C4 for ; Sat, 14 Feb 2009 16:08:05 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id D6AB6107FF for ; Sat, 14 Feb 2009 16:08:05 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LYN3k-0008N5-Sh for gdb@sourceware.org; Sat, 14 Feb 2009 11:08:04 -0500 Date: Sat, 14 Feb 2009 16:08:00 -0000 From: Daniel Jacobowitz To: gdb@sourceware.org Subject: Re: GDB breakpoints, source lines Message-ID: <20090214160804.GA32155@caradoc.them.org> Mail-Followup-To: gdb@sourceware.org References: <1234603753.10693.8.camel@ceiriog.eclipse.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) 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: 2009-02/txt/msg00119.txt.bz2 On Sat, Feb 14, 2009 at 01:22:38PM +0300, Vladimir Prus wrote: > > My question is: are there any circumstances in which you can get a > > different source file or line for each location? > > There should be none, except that we had a bug report whereby GDB would > create multiple location breakpoint where each location has the same > line number and file basename, but different directories. Do you think we'll ever use these for e.g. breakpoints on overloaded functions? -- Daniel Jacobowitz CodeSourcery