home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / libdwarf / pro_die.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.0 KB  |  35 lines

  1. /*
  2.     pro_die.h   
  3.     $Revision: 1.5 $    $Date: 1993/07/19 22:38:32 $    
  4.  
  5.     Header file for producer die related information. This file is included 
  6.     in pro_section.c. 
  7.  
  8. */
  9.  
  10.  
  11. /* 
  12.     This struct holds the abbreviation table, before they are written 
  13.     on disk. Holds a linked list of abbreviations, each consisting of
  14.     a bitmap for attributes and a bitmap for forms
  15. */
  16. typedef struct Dwarf_P_Abbrev_s     *Dwarf_P_Abbrev;
  17.  
  18. struct Dwarf_P_Abbrev_s {
  19.     Dwarf_Unsigned         abb_idx;    /* index of abbreviation */
  20.     Dwarf_Tag         abb_tag;    /* tag of die */
  21.     Dwarf_Ubyte         abb_children;    /* if children are present */
  22.     Dwarf_Word         *abb_attrs;    /* holds names of attrs */
  23.     Dwarf_Word         *abb_forms;     /* forms of attributes */
  24.     Dwarf_Word         abb_n_attr;    /* num of attrs = # of forms */
  25.     Dwarf_P_Abbrev         abb_next;
  26. };
  27.  
  28. /* used in pro_section.c */
  29.  
  30. int _dwarf_pro_add_AT_fde (Dwarf_P_Debug dbg, Dwarf_P_Die die, 
  31.     Dwarf_Unsigned offset, Dwarf_Error *error);
  32.  
  33. int _dwarf_pro_add_AT_stmt_list (Dwarf_P_Debug dbg, Dwarf_P_Die first_die, 
  34.     Dwarf_Error *error);
  35.