This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: Support for DWARF describing Ada unconstrained arrays


> This requires GDB to support DW_AT_data_location and
> DW_OP_push_object_address, which is the goal of the first 2 patches.
> The first 2 patches are heavily inspired from the first 2 patches
> from Keven Boell's Fortran VLA series #2.

One thing I had meant to say and forgot is that Tom reviewed patch #1,
and said 2 things: patch looks good, but we should be looking at
implementing the AX part for DW_OP_push_object_address now.

I would gladly do so, and will commit to having this done in a timely
manner, if someone was kind enough to give me a little bit of direction
on how to do this. I know Tom gave a reference to
dwarf2_compile_expr_to_ax, but I'm still clueless on how this is
supposed to be implemented. For instance, am I supposed to implement
this using a new operand, or can I translate that using already known
operands). Anyway, this can be implemented independently anyway,
so I'll do it as soon as I know how!

Thank you,
-- 
Joel


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