Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simark@simark.ca>
To: Hannes Domani <ssbssa@yahoo.de>, gdb-patches@sourceware.org
Subject: Re: [PATCH v2][PR gdb/18706] Calculate size of array of stubbed type
Date: Thu, 30 Apr 2020 12:14:23 -0400	[thread overview]
Message-ID: <3c4480f8-eb62-1aed-0f0f-c87c234680ad@simark.ca> (raw)
In-Reply-To: <20200430130954.15121-1-ssbssa@yahoo.de>

On 2020-04-30 9:09 a.m., Hannes Domani via Gdb-patches wrote:
> Sizes of stubbed types are calculated on demand in check_typedef, so the
> same must also be done for arrays of stubbed types.
> 
> A stubbed type is usually a structure that has only been forward declared,
> but can also happen if the structure has a virtual function that's not
> inline in the class definition.
> 
> For these stubbed types, the size must be recalculated once the full
> definition is available.

Thanks, this is OK.

Simon



  reply	other threads:[~2020-04-30 16:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200430130954.15121-1-ssbssa.ref@yahoo.de>
2020-04-30 13:09 ` Hannes Domani
2020-04-30 16:14   ` Simon Marchi [this message]
2020-04-30 16:23     ` Hannes Domani
2020-04-30 22:01       ` Tom de Vries

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=3c4480f8-eb62-1aed-0f0f-c87c234680ad@simark.ca \
    --to=simark@simark.ca \
    --cc=gdb-patches@sourceware.org \
    --cc=ssbssa@yahoo.de \
    /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