This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help with debug info for fixed-point data types


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]