From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104164 invoked by alias); 23 Jul 2019 14:51:05 -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 104138 invoked by uid 89); 23 Jul 2019 14:51:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 23 Jul 2019 14:51:02 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6A33444BD1; Tue, 23 Jul 2019 14:51:01 +0000 (UTC) Received: from theo.uglyboxes.com (ovpn-117-225.phx2.redhat.com [10.3.117.225]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CA66E5D9C5; Tue, 23 Jul 2019 14:51:00 +0000 (UTC) Subject: Re: Infcall of a template function in a C++ program To: Tom Tromey , "Aktemur, Tankut Baris" Cc: "gdb@sourceware.org" , "Metzger, Markus T" References: <87imrxwzqi.fsf@tromey.com> From: Keith Seitz Message-ID: Date: Tue, 23 Jul 2019 14:51:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <87imrxwzqi.fsf@tromey.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-07/txt/msg00015.txt.bz2 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. For the record: the upstream C++ compile feature does not include any template support at all. I do have some patches to start this process, but it is stalled on a number of outstanding issues (unresolved bugs, unreviewed patch(es?), etc). Keith