Hi,
I have some third party code with the following
typedef:
typedef void VOID;
I found in the readelf dump of the .debug_info section
that the corresponding DW_TAG_typedef entry had no
DW_AT_type attribute (which usually links to a
DW_TAG_base_type entry). It seems that gcc does not
emit a DW_
On Wed, Sep 06, 2006 at 04:23:58PM -0700, Ron McCall wrote:
> I found in the readelf dump of the .debug_info section
> that the corresponding DW_TAG_typedef entry had no
> DW_AT_type attribute (which usually links to a
> DW_TAG_base_type entry). It seems that gcc does not
> emit a DW_TAG_base_type
On Wed, Sep 06, 2006 at 07:39:04PM -0400, Daniel Jacobowitz wrote:
> Yes, this is the convention we use.
>
> Void isn't a base type. The DWARF 3 standard way to represent this is
> DW_TAG_unspecified_type.
OK, thanks!
Ron