From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4883 invoked by alias); 14 Nov 2007 21:26:35 -0000 Received: (qmail 4875 invoked by uid 22791); 14 Nov 2007 21:26:35 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 Nov 2007 21:26:28 +0000 Received: (qmail 24676 invoked from network); 14 Nov 2007 21:26:26 -0000 Received: from unknown (HELO localhost) (jimb@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Nov 2007 21:26:26 -0000 To: Andreas Schwab Cc: Vladimir Prus , gdb@sources.redhat.com Subject: Re: Multiple breakpoint locations References: <18233.63439.953202.586908@kahikatea.snap.net.nz> From: Jim Blandy Date: Wed, 14 Nov 2007 21:26:00 -0000 In-Reply-To: (Andreas Schwab's message of "Wed, 14 Nov 2007 11:12:30 +0100") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/msg00144.txt.bz2 Andreas Schwab writes: > It is valid for function template instantiations to only differ in the > return type. See > for an example. 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.