From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29664 invoked by alias); 14 Nov 2007 22:08:46 -0000 Received: (qmail 29654 invoked by uid 22791); 14 Nov 2007 22:08:46 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Nov 2007 22:08:42 +0000 Received: from Relay2.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 mx2.suse.de (Postfix) with ESMTP id 59E7A2B802; Wed, 14 Nov 2007 23:08:39 +0100 (CET) From: Andreas Schwab To: Jim Blandy Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: Multiple breakpoint locations References: <18233.63439.953202.586908@kahikatea.snap.net.nz> X-Yow: Barbie says, Take quaaludes in gin and go to a disco right away! But Ken says, WOO-WOO!! No credit at ``Mr. Liquor''!! Date: Wed, 14 Nov 2007 22:08:00 -0000 In-Reply-To: (Jim Blandy's message of "Wed\, 14 Nov 2007 13\:26\:26 -0800") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1 (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-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00148.txt.bz2 Jim Blandy writes: > Following that link, I think I now better appreciate why full C++ > support in GDB is basically impossible: in order to decide which 'fun' > template the call in 'main' refers to, one must try to instantiate > each template and type-check the resulting code. So GDB would need to > essentially incorporate a full C++ front end. It's even worse. You can put the function templates in different source files so that two function calls using the same parameters instantiate functions from different templates, all in the same program. 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."