From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115419 invoked by alias); 23 Jul 2019 15:52:31 -0000 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 Received: (qmail 115410 invoked by uid 89); 23 Jul 2019 15:52:30 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:818, H*f:sk:defe4f6, H*i:sk:defe4f6 X-HELO: gateway36.websitewelcome.com Received: from gateway36.websitewelcome.com (HELO gateway36.websitewelcome.com) (50.116.127.2) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 23 Jul 2019 15:52:29 +0000 Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway36.websitewelcome.com (Postfix) with ESMTP id CE07E400C8418 for ; Tue, 23 Jul 2019 10:16:10 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id px5WhjHp4YTGMpx5WhYTxz; Tue, 23 Jul 2019 10:52:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+DuSqWKs5oVEhoXAPn6LlrLDhh4I1KQGM99RmLfT8io=; b=O7xBDjmuNdV6tDWUkOe6hluBxF 5Sojxdzutg6Pi4iDjKP6T8crOvzq9Bm0hNvlYYeB5LJEPBE0NO/8z6fRBUJ74KEUfiYuBkxfHetek tC6spDMOKMBZFnzLDQr0iwcR7; Received: from 97-122-178-82.hlrn.qwest.net ([97.122.178.82]:58416 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hpx5W-002aqW-JV; Tue, 23 Jul 2019 10:52:26 -0500 From: Tom Tromey To: Keith Seitz Cc: Tom Tromey , "Aktemur\, Tankut Baris" , "gdb\@sourceware.org" , "Metzger\, Markus T" Subject: Re: Infcall of a template function in a C++ program References: <87imrxwzqi.fsf@tromey.com> Date: Tue, 23 Jul 2019 15:52:00 -0000 In-Reply-To: (Keith Seitz's message of "Tue, 23 Jul 2019 07:51:00 -0700") Message-ID: <871rygwxxi.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-07/txt/msg00016.txt.bz2 >>>>> "Keith" == Keith Seitz writes: Keith> On 7/19/19 1:12 PM, Tom Tromey wrote: >> >> The "compile" command might also be promising here, though I don't know >> how well the C++ support handles templates. It's a difficult problem >> given the way the "compile" command was designed, because the source >> isn't available and DWARF doesn't represent templates, only >> instantiations. Keith> For the record: the upstream C++ compile feature does not include any template Keith> support at all. I do have some patches to start this process, but it Keith> is stalled on a number of outstanding issues (unresolved bugs, unreviewed Keith> patch(es?), etc). If there are unreviewed gdb patches, please send a ping. I'll take a look. thanks, Tom