From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18119 invoked by alias); 13 Nov 2007 19:59:43 -0000 Received: (qmail 18111 invoked by uid 22791); 13 Nov 2007 19:59:42 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 Nov 2007 19:59:40 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 4A1599835E; Tue, 13 Nov 2007 19:59:38 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 2182D98349; Tue, 13 Nov 2007 19:59:37 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.68) (envelope-from ) id 1Is1v6-0004Ml-Es; Tue, 13 Nov 2007 14:59:36 -0500 Date: Tue, 13 Nov 2007 19:59:00 -0000 From: Daniel Jacobowitz To: Vladimir Prus Cc: gdb@sources.redhat.com Subject: Re: Multiple breakpoint locations Message-ID: <20071113195936.GA16718@caradoc.them.org> Mail-Followup-To: Vladimir Prus , gdb@sources.redhat.com References: <18233.63439.953202.586908@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) 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-11/txt/msg00100.txt.bz2 On Tue, Nov 13, 2007 at 10:28:15PM +0300, Vladimir Prus wrote: > > 3) I created this breakpoint by specifying the line but if I do: > > > > b foo() > > > > or any variant I can think of, I just get a pending breakpoint as GDB > > doesn't recognise the location. Can such locations be specified on the > > command line by name? > > Does > > b 'void foo()' > > work better? I have some patches in progress which should make 'break foo' work. I posted one of them a month or so ago; I have not committed it yet, because I was disappointed by the performance cost, but I can't think of any real alternatives. So I probably will commit it soon and then finish the other patches. I've gotten caught up in another project at the moment, though, so not right away. -- Daniel Jacobowitz CodeSourcery