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: [vta->trunk] VTA merge


>>>>> "Alexandre" == Alexandre Oliva <aoliva@redhat.com> writes:

Alexandre> I think the important question is whether older debuggers
Alexandre> would be able to deal gracefully with these location entries
Alexandre> or constant values.  I understand they're supposed to, and I
Alexandre> have no evidence that GDB isn't, so I offer this patch to
Alexandre> revert the last-minute addition of tests for dwarf_version >=
Alexandre> 4 in the VTA merge patch.

I don't know about other debuggers, but GDB will issue an error like:

    Unhandled dwarf expression opcode 0x9e

if you try to print a variable whose location uses that opcode.

You can see that with GDB trunk today :) because the DW_OP_*_value patch
is still pending.

Tom


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