>>>>> "Jakub" == Jakub Jelinek <ja...@redhat.com> writes:

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

I think gdb will issue a complaint if it sees one.  I'm not sure, I
don't think I've ever seen a program using this DWARF feature.

IIUC, the DW_OP_call* includes the needed DIE offset.  So, I think gdb
doesn't need to do anything for DW_TAG_dwarf_procedure except ignore it.

Doing this and eliminating the complaint is trivial.
I'm reluctant to do it without a way to test the change, though.
(And the complaint itself is harmless and not visible to users by
default anyway.)

Tom

Reply via email to