public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@adacore.com>
To: gdb-patches@sourceware.org
Subject: [Ada/DWARF] printing array of variant records
Date: Tue, 21 Apr 2015 15:44:00 -0000	[thread overview]
Message-ID: <1429631064-4196-1-git-send-email-brobecker@adacore.com> (raw)

Hello,

This patch series aims at enhancing GDB when printing arrays of
records whose contents and size is dynamic, in the case where
we're relying purely on standard DWARF info (no GNAT encodings).

The patch series has been tested on x86_64-linux using the FSF
testsuite, as well as a number of other platforms (Solaris, Windows,
crosses) using AdaCore's testsuite.

Most patches are small fixes and enhancements. Patch #2 (Add valaddr
support in dynamic property resolution) is interesting, thought,
as it is one answer to a question I asked at the very beginning
when we started reviewing patches introducing the concept of dynamic
type resolution: what if the data is not stored in inferior memory?
As it turns out, this patch series encounters one such case, because
we're dealing with data that is not necessarily byte-aligned. And
AdaCore also encountered another situation, with a function returning
a reference to a dynamic object, with that reference being returned
by register; hence no address either. Patch #2 enhances our framework
by using the contents-and-address idea.

If there are no objections, I'd like to commit the patch series
sometime early next week.

Thanks!

             reply	other threads:[~2015-04-21 15:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-21 15:44 Joel Brobecker [this message]
2015-04-21 15:44 ` [FYI 6/6] testsuite/gdb.ada/var_rec_arr: New testcase Joel Brobecker
2015-04-21 15:44 ` [RFA/commit 1/6] preserve the bit stride when resolving an array type Joel Brobecker
2015-04-21 15:44 ` [RFA/commit 2/6] Add valaddr support in dynamic property resolution Joel Brobecker
2015-04-21 15:44 ` [FYI 3/6] [Ada] Resolve dynamic type before trying to print it Joel Brobecker
2015-04-21 15:44 ` [FYI 5/6] GDB crash trying to subscript array of variant record Joel Brobecker
2015-04-21 15:44 ` [FYI 4/6] [Ada] array of variant record subscripting Joel Brobecker
2015-05-05 17:50 ` [Ada/DWARF] printing array of variant records 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=1429631064-4196-1-git-send-email-brobecker@adacore.com \
    --to=brobecker@adacore.com \
    --cc=gdb-patches@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).