This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't ICE on >= 64KB expressions in dwarf2out (PR debug/51695)
- From: Tom Tromey <tromey at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Jason Merrill <jason at redhat dot com>, Alexandre Oliva <aoliva at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 04 Jan 2012 12:11:29 -0700
- Subject: Re: [PATCH] Don't ICE on >= 64KB expressions in dwarf2out (PR debug/51695)
- References: <20120104180902.GE18937@tyan-ft48-01.lab.bos.redhat.com>
>>>>> "Jakub" == Jakub Jelinek <jakub@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.
Tom