Infcall of a template function in a C++ program

Tom Tromey tom@tromey.com
Tue Jul 23 15:52:00 GMT 2019


>>>>> "Keith" == Keith Seitz <keiths@redhat.com> 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



More information about the Gdb mailing list