Seems like the mailing list cut my first attempt in half.

The standard way of encoding a constant value seems to be something like:

<2><  196>      DW_TAG_constant
                DW_AT_name                  rans2
                DW_AT_const_value           16
                DW_AT_decl_file             1
                DW_AT_decl_line             0
                DW_AT_type                  <143>

Where we have the following abbrevation
<   6><   69><code:  6> DW_TAG_constant           DW_CHILDREN_no
      <   72>           DW_AT_name                  DW_FORM_string
      <   74>           DW_AT_const_value           DW_FORM_data4
      <   76>           DW_AT_decl_file             DW_FORM_data1
      <   78>           DW_AT_decl_line             DW_FORM_data1
      <   80>           DW_AT_type                  DW_FORM_ref4
_______________________________________________
Dwarf-Discuss mailing list
[email protected]
http://lists.dwarfstd.org/listinfo.cgi/dwarf-discuss-dwarfstd.org

Reply via email to