Mono.Debugger.Backend.DwarfReader.Die.Die C# (CSharp) Method

Die() protected method

protected Die ( DwarfBinaryReader reader, CompilationUnit comp_unit, AbbrevEntry abbrev ) : System
reader DwarfBinaryReader
comp_unit CompilationUnit
abbrev AbbrevEntry
return System
            protected Die(DwarfBinaryReader reader, CompilationUnit comp_unit,
				       AbbrevEntry abbrev)
            {
                this.comp_unit = comp_unit;
                this.dwarf = comp_unit.DwarfReader;
                this.abbrev = abbrev;

                Offset = reader.Position;
                ChildrenOffset = Offset + ReadAttributes (reader);
                reader.Position = ChildrenOffset;

                debug ("NEW DIE: {0} {1} {2} {3}", GetType (),
                       abbrev, Offset, ChildrenOffset);
            }