From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30486 invoked by alias); 15 Jan 2006 18:33:43 -0000 Received: (qmail 30476 invoked by uid 22791); 15 Jan 2006 18:33:43 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 15 Jan 2006 18:33:40 +0000 Received: from Relay1.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 60097EA06; Sun, 15 Jan 2006 19:33:37 +0100 (CET) From: Andreas Schwab To: Robert Dewar Cc: David Anderson , gdb@sourceware.org Subject: Re: [RFC] multiple breakpoints from FILE:LINE References: <200601151736.k0FHapQB157574@quasar.engr.sgi.com> <43CA8C51.1040704@adacore.com> X-Yow: FIRST, I was in a TRUCK...THEN, I was in a DINER... Date: Sun, 15 Jan 2006 18:33:00 -0000 In-Reply-To: <43CA8C51.1040704@adacore.com> (Robert Dewar's message of "Sun, 15 Jan 2006 12:54:25 -0500") Message-ID: User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00126.txt.bz2 Robert Dewar writes: > For me, the case of inlining is very different from the case of an > Ada instantiation or from overloading. I find it hard to imagine > wanting to breakpoint one particular inline instance. What if you want to debug a particular function which inlines another function that is also inlined in many other, frequently called functions? In this case being able to set a breakpoint in a single instance of the inline function can considerably reduce the complexity of debugging. Of course, you can always fall back to setting the breakpoint on an address, but that makes it difficult to reliably track the breakpoint position when reloading the binary. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."