[Dwarf-Discuss] Help with debug info for fixed-point data types

Ron Brender ron.brender@charter.net
Tue Nov 6 13:14:15 GMT 2007


Shafi,

I don't understand--is there a question here? What do you need help with?

I assume you have the DWARF V3 Standard of December 2005, right?
If there is a question about how to interpret the DWARF standard, this 
list can help. If there is a question about patches to support fixed 
point in gdb, this list is not a good resource.

Ron

p.s. For binary fixed point I would not expect you to need 
DW_AT_digit_count at all. That is only relevant for numeric string and 
packed decimal types.

---------------------
Rohit Arul Raj wrote:
> Hello all,
> 
> I have implemented fixed point data types in gcc-4.1.1 by
> incorporating the patches sent out in the gcc patches mailing list. To
> debug fixed-point types, as per the dwarf manual we may need the
> following info as follows.
> DW_AT_binary_scale : binary scale factor for fixed-point type.
> DW_AT_digit_count : digit count for packed decimal or numeric string type.
> 
> For a fixed point data type of format s7.15 how to encode the
> information for the format into the following information
> 
> Format : s7.15
> DW_AT_binary_scale :
> DW_AT_digit_count :
> 
> 
> Format : s.31
> DW_AT_binary_scale :
> DW_AT_digit_count :
> 
> 
> Any help would be appreciated.
> 
> Regards,
> Shafi






More information about the Dwarf-discuss mailing list