[Dwarf-Discuss] About self-referencial sized types
Jakub Jelinek
jakub@redhat.com
Wed Apr 23 14:19:36 GMT 2014
On Wed, Apr 23, 2014 at 08:14:56AM -0600, Tom Tromey wrote:
> Pierre-Marie> I tried to look at the implementation of
> Pierre-Marie> DW_OP_push_object_address in GDB, but it looks like it's
> Pierre-Marie> not implemented yet. What do you think about its expected
> Pierre-Marie> behavior? And if I cannot use this operation for such
> Pierre-Marie> array bound expressions, what should I use?
>
> Just to address the gdb part -- the only reason this isn't implemented
> is that presumably no gdb developer has ever encountered a compiler that
> emits it. It shouldn't be hard to add should you need it. Please file
> a bug in gdb bugzilla.
That's strange, for Fortran arrays GCC emits DW_OP_push_object_address
heavily.
Jakub
More information about the Dwarf-discuss
mailing list