This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Don't ICE on >= 64KB expressions in dwarf2out (PR debug/51695)


>>>>> "Jakub" == Jakub Jelinek <jakub@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]