Infcall of a template function in a C++ program

Keith Seitz keiths@redhat.com
Tue Jul 23 14:51:00 GMT 2019


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



More information about the Gdb mailing list