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

  1. /*
  2.     dwarf_global.h
  3.  
  4.     $Revision: 1.5 $        $Date: 1993/08/16 23:20:43 $
  5. */
  6.  
  7.  
  8. typedef struct Dwarf_Global_Context_s    *Dwarf_Global_Context;
  9.  
  10. /* 
  11.     This struct contains header information for a set of pubnames.
  12.     Essentially, they contain the context for a set of pubnames 
  13.     belonging to a compilation-unit.
  14. */
  15. struct Dwarf_Global_Context_s {
  16.  
  17.         /* 
  18.         Length in .debug_pubnames of a set of pubnames 
  19.         for a compilation-unit. 
  20.     */
  21.     Dwarf_Word            pu_length;
  22.  
  23.     /* 
  24.         Offset into .debug_info of the compilation-unit
  25.         for this set of pubnames.
  26.     */
  27.     Dwarf_Off            pu_info_offset;
  28.  
  29.     /* Size of compilation-unit that these pubnames are in. */
  30.     Dwarf_Unsigned        pu_info_length;
  31. };
  32.  
  33.  
  34. /* This struct contains information for a single pubname. */
  35. struct Dwarf_Global_s {
  36.  
  37.     /* 
  38.         Offset from the start of the corresponding compilation-unit
  39.         of the DIE for the given pubname.
  40.     */
  41.     Dwarf_Off            gl_cu_offset;
  42.  
  43.     /* Points to the given pubname. */
  44.     Dwarf_Small            *gl_name;
  45.  
  46.     /* Context for this pubname. */
  47.     Dwarf_Global_Context    gl_context;
  48. };
  49.