[vta->trunk] VTA merge

Alexandre Oliva aoliva@redhat.com
Thu Sep 3 07:14:00 GMT 2009


On Sep  2, 2009, Tom Tromey <tromey@redhat.com> wrote:

> FWIW I changed my mind on this topic.  I was swayed by your argument
> about compatibility: the alternative to emitting DW_OP_*_value seems to
> be to emit nothing.  Either way an older debugger is just not going to
> be able to print the value.

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

Should I check it in so that we can get a better idea of what, if
anything, breaks?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vta-dwarf2out-values-without-v4.patch
Type: text/x-diff
Size: 2124 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090903/a16f2d70/attachment.bin>
-------------- next part --------------


-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer


More information about the Gcc-patches mailing list