From: Joel Brobecker <brobecker@adacore.com>
To: Keven Boell <keven.boell@intel.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] fort_dyn_array: enable dynamic array of types
Date: Thu, 05 Nov 2015 16:56:00 -0000 [thread overview]
Message-ID: <20151105165613.GS4009@adacore.com> (raw)
In-Reply-To: <1446738991-23962-1-git-send-email-keven.boell@intel.com>
Keven,
On Thu, Nov 05, 2015 at 04:56:31PM +0100, Keven Boell wrote:
> This patch enables dynamic arrays of types in Fortran.
>
> 2015-03-20 Keven Boell <keven.boell@intel.com>
>
> * gdbtypes.c (resolve_dyn_properties): New.
> (resolve_dynamic_range): Add call to resolve_dyn_properties
> to resolve data_location.
> (resolve_dynamic_array): Add call to resolve_dyn_properties
> to resolve data_location.
> (resolve_dynamic_union): Add call to resolve_dyn_properties
> to resolve_data_location.
> (resolve_dynamic_struct): Add call to resolve_dyn_properties
> to resolve_data_location. Adjust address of inner types of
> a struct to reflect the offset of the inner's type data_location.
> (resolve_dynamic_type_internal): Remove data_location computation.
> * value.c (set_value_component_location): Adjust the value address
> for single value prints.
> (value_primitive_field): Use lazy fetch to re-evaluate a field to
> get the actual value.
> (value_fetch_lazy): Use address provided by DWARF data_location
> attribute if present.
>
> testsuite/gdb.fortran:
>
> * vla-type.exp: New file.
> * vla-type.f90: New file.
This is really not the way I tried to explained how these changes
should be submitted. I don't know about others, but I can't understand
the reasons for the changes if you don't show me what's happening
today, the debugging info, why the debugger is failing, and explain
how you are fixing the issue.
For instance, I suspect that this patch can be split into smaller,
independent patches, which themselves fixes a smaller set of issues.
And I'd like to make sure we have a test for each hunk that you're
adding.
--
Joel
next prev parent reply other threads:[~2015-11-05 16:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-05 15:56 Keven Boell
2015-11-05 16:56 ` Joel Brobecker [this message]
2015-11-06 9:28 ` Keven Boell
2015-12-06 13:42 ` Joel Brobecker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151105165613.GS4009@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=keven.boell@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox