This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Support for DWARF describing Ada unconstrained arrays
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 18 Aug 2014 19:56:54 +0200
- Subject: Re: Support for DWARF describing Ada unconstrained arrays
- Authentication-results: sourceware.org; auth=none
- References: <1408383517-29205-1-git-send-email-brobecker at adacore dot com>
> 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