[PATCH v2][PR gdb/18706] Calculate size of array of stubbed type

Hannes Domani ssbssa@yahoo.de
Thu Apr 30 16:23:51 GMT 2020


 Am Donnerstag, 30. April 2020, 18:14:26 MESZ hat Simon Marchi <simark@simark.ca> Folgendes geschrieben:

> 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.

Pushed, thanks.


Hannes


More information about the Gdb-patches mailing list