On Wed, Jan 04, 2012 at 12:11:29PM -0700, Tom Tromey wrote:
> >>>>> "Jakub" == Jakub Jelinek <ja...@redhat.com> writes:
> 
> Jakub> another alternative would be to create DW_TAG_dwarf_procedure for
> Jakub> them or for portions thereof (for subexpressions it would be even
> Jakub> a potential nice debug info shrinking method, but would mean a
> Jakub> lot of work and gdb support isn't there yet).
> 
> AFAIK, gdb supports DW_OP_call2 and DW_OP_call4 correctly.
> If you know otherwise, please file a bug + reproducer.
> 
> gdb doesn't support DW_OP_call_ref yet.  I'm not sure why.
> If it is important, we can add it.

Honza said that GDB doesn't support DW_TAG_dwarf_procedure though.
We'd need to represent it as nameless artificial DW_TAG_variable
or something similar.

        Jakub

Reply via email to